Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Oct 11, 2024
1 parent 9c7d70e commit 6c725da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sisyphus/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ def get_object_state(obj):
if isinstance(obj, (bool, int, float, complex, str)):
return obj
if isfunction(obj) or isclass(obj):
# Note: sis_hash_helper does not call get_object_state in these cases.
# However, other code might (e.g. extract_paths),
# so we keep consistent to the behavior of sis_hash_helper.
return obj.__module__, obj.__qualname__

if isinstance(obj, pathlib.PurePath):
Expand Down

0 comments on commit 6c725da

Please sign in to comment.