syntax fixes
This commit is contained in:
parent
0a86226da0
commit
57bf7b5cba
@ -54,7 +54,8 @@ def process(tree):
|
|||||||
return obj
|
return obj
|
||||||
|
|
||||||
if isinstance(tree, HyList):
|
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)
|
obj.replace(tree)
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ def route_macro(tree):
|
|||||||
|
|
||||||
|
|
||||||
@macro("post_route")
|
@macro("post_route")
|
||||||
def route_macro(tree):
|
def post_route_macro(tree):
|
||||||
return router(tree, rkwargs=HyList([HyString("POST")]))
|
return router(tree, rkwargs=HyList([HyString("POST")]))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user