Skip to content

Commit

Permalink
Add a warning comment to (unused) dedup function
Browse files Browse the repository at this point in the history
  • Loading branch information
floatingatoll committed Nov 9, 2022
1 parent 7217f58 commit 2d7b81e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python-modules/cis_publisher/cis_publisher/hris.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def dedup_changes(self, publisher, profiles):
dedup.append(p)
continue
cis_p = cis_profile.User(publisher.known_profiles[self.hkey][user_id])
# XXX this check can never be true, because timezone.value has a default
if p.timezone.value is not None:
if (
(p.staff_information == cis_p.staff_information)
Expand Down

0 comments on commit 2d7b81e

Please sign in to comment.