syntax fixes

This commit is contained in:
Paul R. Tagliamonte 2013-03-10 10:35:08 -04:00
parent 0a86226da0
commit 57bf7b5cba
2 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,8 @@ def process(tree):
return obj
if isinstance(tree, HyList):
obj = HyList([process(x) for x in tree])
obj = HyList([process(x) for x in tree]) # NOQA
# flake8 thinks we're redefining from 52.
obj.replace(tree)
return obj

View File

@ -36,7 +36,7 @@ def route_macro(tree):
@macro("post_route")
def route_macro(tree):
def post_route_macro(tree):
return router(tree, rkwargs=HyList([HyString("POST")]))