Mercurial > p > roundup > code
changeset 4645:dc2a8d256952
Fix warning.
| author | Stefan Seefeld <stefan@seefeld.name> |
|---|---|
| date | Thu, 04 Nov 2010 17:49:34 +0000 |
| parents | 20e0e5ce217f |
| children | cd81ebbce7f9 |
| files | website/issues/detectors/nosyreaction.py |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/website/issues/detectors/nosyreaction.py Thu Jul 12 22:24:04 2012 +0200 +++ b/website/issues/detectors/nosyreaction.py Thu Nov 04 17:49:34 2010 +0000 @@ -1,4 +1,4 @@ -import sets +from roundup.anypy.sets_ import set from roundup import roundupdb, hyperdb @@ -48,7 +48,7 @@ '''Update the nosy list for changes to the assignedto ''' # nodeid will be None if this is a new node - current_nosy = sets.Set() + current_nosy = set() if nodeid is None: ok = ('new', 'yes') else: @@ -68,7 +68,7 @@ continue current_nosy.add(value) - new_nosy = sets.Set(current_nosy) + new_nosy = set(current_nosy) # add assignedto(s) to the nosy list if newvalues.has_key('assignedto') and newvalues['assignedto'] is not None:
