Skip to content

Commit

Permalink
AttributeError: 'list' object has no attribute 'items'
Browse files Browse the repository at this point in the history
  • Loading branch information
zangwill authored and serge-sans-paille committed Nov 26, 2021
1 parent cde5ef6 commit 6165c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memestra/memestra.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def load_deprecated_from_module(self, module_name, level=None):
try:
module, syntax_errors = frilouz.parse(ast.parse, fd.read())
except UnicodeDecodeError:
return []
return {}
duc = SilentDefUseChains()
duc.visit(module)
anc = beniget.Ancestors()
Expand Down

0 comments on commit 6165c64

Please sign in to comment.