Skip to content

Commit

Permalink
Unneeded comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
typesupply committed Feb 13, 2021
1 parent 3c5f98b commit f540b05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/defcon/tools/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,6 @@ def findObservations(self, observer=None, notification=None, observable=None, id
otherIdentifier = self._identifierRegistry[otherNotification, otherObservable].get(otherObserver)
if otherIdentifier is None and identifier is not None:
continue
if otherIdentifier is not None and identifier is None:
continue
if otherIdentifier is not None and identifier is not None:
if not fnmatchcase(otherIdentifier, identifier):
continue
Expand Down

0 comments on commit f540b05

Please sign in to comment.