Avoid awarding the badge multiple times.
This commit is contained in:
parent
97cca8dab9
commit
1161cb2c64
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ def main():
|
||||||
print("Skipping %r" % cache[person])
|
print("Skipping %r" % cache[person])
|
||||||
|
|
||||||
print(" *", cache[person], "gets the badge")
|
print(" *", cache[person], "gets the badge")
|
||||||
|
already_has_it.append(cache[person])
|
||||||
email = cache[person] + "@fedoraproject.org"
|
email = cache[person] + "@fedoraproject.org"
|
||||||
try:
|
try:
|
||||||
transaction.begin()
|
transaction.begin()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue