Skip to content

Commit e69c060

Browse files
committed
Fix warning.
1 parent 7acf551 commit e69c060

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/issues/detectors/nosyreaction.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sets
1+
from roundup.anypy.sets_ import set
22

33
from roundup import roundupdb, hyperdb
44

@@ -48,7 +48,7 @@ def updatenosy(db, cl, nodeid, newvalues):
4848
'''Update the nosy list for changes to the assignedto
4949
'''
5050
# nodeid will be None if this is a new node
51-
current_nosy = sets.Set()
51+
current_nosy = set()
5252
if nodeid is None:
5353
ok = ('new', 'yes')
5454
else:
@@ -68,7 +68,7 @@ def updatenosy(db, cl, nodeid, newvalues):
6868
continue
6969
current_nosy.add(value)
7070

71-
new_nosy = sets.Set(current_nosy)
71+
new_nosy = set(current_nosy)
7272

7373
# add assignedto(s) to the nosy list
7474
if newvalues.has_key('assignedto') and newvalues['assignedto'] is not None:

0 commit comments

Comments
 (0)