Avoid awarding the badge multiple times.

This commit is contained in:
Ralph Bean 2013-12-11 18:50:13 +00:00
parent 97cca8dab9
commit 1161cb2c64

View file

@ -214,6 +214,7 @@ def main():
print("Skipping %r" % cache[person])
print(" *", cache[person], "gets the badge")
already_has_it.append(cache[person])
email = cache[person] + "@fedoraproject.org"
try:
transaction.begin()