From ef2fd9091f86ae8513936e44736b9cb2a8923378 Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 4 Nov 2010 17:49:34 +0000 Subject: [PATCH] Fix warning. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4562 57a73879-2fb5-44c3-a270-3262357dd7e2 --- share/roundup/templates/devel/detectors/nosyreaction.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/roundup/templates/devel/detectors/nosyreaction.py b/share/roundup/templates/devel/detectors/nosyreaction.py index a1a1536..b49d2fb 100644 --- a/share/roundup/templates/devel/detectors/nosyreaction.py +++ b/share/roundup/templates/devel/detectors/nosyreaction.py @@ -1,4 +1,4 @@ -import sets +from roundup.anypy.sets_ import set from roundup import roundupdb, hyperdb @@ -48,7 +48,7 @@ def updatenosy(db, cl, nodeid, newvalues): '''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 @@ def updatenosy(db, cl, nodeid, newvalues): 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: -- 2.30.2