Skip to content

Commit

Permalink
docs: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Jun 3, 2022
1 parent 81f6a30 commit cc8128e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bugmon/bug.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ def add_needinfo(self, user: str) -> bool:

request = {"name": "needinfo", "status": "?", "requestee": user}
for flag in self._bug["flags"]:
# Don't insert needinfo flag if one already exists
if request.items() < flag.items():
return False

Expand Down

0 comments on commit cc8128e

Please sign in to comment.