Skip to content

Commit

Permalink
remove unnecessary metadata assignment to None
Browse files Browse the repository at this point in the history
  • Loading branch information
lcjohnso authored Jun 10, 2024
1 parent d84e936 commit 7a19fc1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions panoptes_client/subject_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ def set_raw(self, raw, etag=None, loaded=True):
super(SubjectSet, self).set_raw(raw, etag, loaded)
if loaded and self.metadata:
self._original_metadata = deepcopy(self.metadata)
elif loaded:
self._original_metadata = None

def save(self):
"""
Expand Down

0 comments on commit 7a19fc1

Please sign in to comment.