Skip to content

Commit

Permalink
bugfix FakeClass equality method
Browse files Browse the repository at this point in the history
  • Loading branch information
CensoredUsername committed Dec 16, 2014
1 parent 86326b7 commit d7d0f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompiler/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __eq__(self, other):
if not hasattr(other, "__name__"):
return False
if hasattr(other, "__module__"):
return self.__module__ == other.__module and self.__name == other.__name__
return self.__module__ == other.__module__ and self.__name == other.__name__
else:
return self.__module__ + "." + self.__name__ == other.__name__

Expand Down

0 comments on commit d7d0f57

Please sign in to comment.