Fix activity ID generation logic

This commit is contained in:
Dan Williams 2007-04-09 15:08:04 -04:00
parent 3eeec9bf07
commit 4cf8f321f0

View File

@ -47,10 +47,9 @@ def create_activity_id():
if act_id == act.get_id():
found = True
break
if found:
raise RuntimeError("Cannot generate unique activity id.")
if not found:
return act_id
raise RuntimeError("Cannot generate unique activity id.")
class ActivityCreationHandler(gobject.GObject):
__gsignals__ = {