|
@@ -210,7 +210,7 @@ def parse_py(codelet): |
|
|
tree = ast.parse("\n".join(strip_encoding(codelet.code.splitlines()))) |
|
|
tree = ast.parse("\n".join(strip_encoding(codelet.code.splitlines()))) |
|
|
except SyntaxError: |
|
|
except SyntaxError: |
|
|
## TODO: add some logging here? |
|
|
## TODO: add some logging here? |
|
|
return |
|
|
|
|
|
|
|
|
return {} |
|
|
|
|
|
|
|
|
walker = _TreeWalker() |
|
|
walker = _TreeWalker() |
|
|
walker.visit(tree) |
|
|
walker.visit(tree) |
|
|