Skip to content

Commit

Permalink
chore: Prefer type() to __class__
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 16, 2024
1 parent 4cdb4a9 commit ff2332f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_registry/process_manager/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ def wipe(self) -> None:
"""

def __str__(self):
return f"Publication {self.collection}: {self.__class__.__name__}"
return f"Publication {self.collection}: {type(self).__name__}"

0 comments on commit ff2332f

Please sign in to comment.