changed use of vars(my_namedtuple) to my_namedtuple._as_dict() (see http://bugs.python.org/issue24931); added requirements.txt
This commit is contained in:
parent
599c141a1d
commit
e4f58fe8c8
@ -29,7 +29,7 @@ def home(request): # <1>
|
||||
print('Query: {!r}'.format(query)) # <3>
|
||||
if query: # <4>
|
||||
descriptions = list(index.find_descriptions(query))
|
||||
res = '\n'.join(ROW_TPL.format(**vars(descr))
|
||||
res = '\n'.join(ROW_TPL.format(**descr._asdict())
|
||||
for descr in descriptions)
|
||||
msg = index.status(query, len(descriptions))
|
||||
else:
|
||||
|
1
18-asyncio/charfinder/requirements.txt
Normal file
1
18-asyncio/charfinder/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
aiohttp==0.13.1
|
Loading…
x
Reference in New Issue
Block a user