summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 532f94f)
raw | patch | inline | side by side (parent: 532f94f)
author | neaj <neaj@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 25 Jun 2003 09:49:34 +0000 (09:49 +0000) | ||
committer | neaj <neaj@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 25 Jun 2003 09:49:34 +0000 (09:49 +0000) |
explicit change. This is useful in a case where an issue is resolved,
and you want to mail in a comment without making the status revert to
chatting.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1780 57a73879-2fb5-44c3-a270-3262357dd7e2
and you want to mail in a comment without making the status revert to
chatting.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1780 57a73879-2fb5-44c3-a270-3262357dd7e2
templates/classic/detectors/statusauditor.py | patch | blob | history |
diff --git a/templates/classic/detectors/statusauditor.py b/templates/classic/detectors/statusauditor.py
index 05f1710740ab1d115446dec5e695bc39c63f04a4..f1ce29b03aa91e9e62a8d907c9beee05a8ca4423 100644 (file)
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
-#$Id: statusauditor.py,v 1.1 2003-04-17 03:26:38 richard Exp $
+#$Id: statusauditor.py,v 1.2 2003-06-25 09:49:34 neaj Exp $
def chatty(db, cl, nodeid, newvalues):
''' If the issue is currently 'unread', 'resolved' or 'done-cbb', then set
current_status = cl.get(nodeid, 'status')
# see if there's an explicit change in this transaction
- if newvalues.has_key('status') and newvalues['status'] != current_status:
+ if newvalues.has_key('status'):
# yep, skip
return