Mercurial > p > roundup > code
diff scripts/contributors.py @ 8517:0e712d67a783
doc: fix typo and error in check command
change or -> for
In check command replace:
if user.organisation == issue.organisation:
return True
with
return user.organisation == issue.organisation
which returns a real False (not just a falsy None) and is more
pythonic than if X: return True, just return X if False is a valid
value.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 28 Jan 2026 15:21:02 -0500 |
| parents | 4919435ac231 |
| children | 9c3ec0a5c7fc |
