summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c2b802)
raw | patch | inline | side by side (parent: 2c2b802)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 5 Jan 2003 10:55:16 +0000 (10:55 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 5 Jan 2003 10:55:16 +0000 (10:55 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1420 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/backends/rdbms_common.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 77c11c25fa5f1825afcedfd082072d8c556ac1cd..e2ea9849d57ee38e64c8b1ace33dfd5c27b14dfb 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- fixed handling of missing password (sf bug 655632)
- applied patches for handling Outlook quirks (thanks Andrey Lebedev)
(multipart/alternative, "fw" and content-type "name")
+- fire auditors and reactors in rdbms retire (thanks Sheila King)
2002-12-11 0.5.3
index b0c466cb43bb343fccc2dabf70146fe43fc36fd0..7c6ba76e4b80f5c95f402dc2ec647c6491a7c2b0 100644 (file)
-# $Id: rdbms_common.py,v 1.25 2002-12-12 09:31:04 richard Exp $
+# $Id: rdbms_common.py,v 1.26 2003-01-05 10:55:16 richard Exp $
''' Relational database (SQL) backend common code.
Basics:
if self.db.journaltag is None:
raise DatabaseError, 'Database open read-only'
+ self.fireAuditors('retire', nodeid, None)
+
# use the arg for __retired__ to cope with any odd database type
# conversion (hello, sqlite)
sql = 'update _%s set __retired__=%s where id=%s'%(self.classname,
print >>hyperdb.DEBUG, 'retire', (self, sql, nodeid)
self.db.cursor.execute(sql, (1, nodeid))
+ self.fireReactors('retire', nodeid, None)
+
def is_retired(self, nodeid):
'''Return true if the node is rerired
'''