summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39f4554)
raw | patch | inline | side by side (parent: 39f4554)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 23 Aug 2002 05:00:38 +0000 (05:00 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 23 Aug 2002 05:00:38 +0000 (05:00 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@992 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_gadfly.py | patch | blob | history |
index 5dc34db98dbd05035696df902fcb148a3742004b..ccf42dcc5a18f0fb74660b2613773bb2df5df140 100644 (file)
-# $Id: back_gadfly.py,v 1.3 2002-08-23 04:58:00 richard Exp $
+# $Id: back_gadfly.py,v 1.4 2002-08-23 05:00:38 richard Exp $
__doc__ = '''
About Gadfly
============
Retired nodes are not returned by the find(), list(), or lookup()
methods, and other nodes may reuse the values of their key properties.
'''
+ if self.db.journaltag is None:
+ raise DatabaseError, 'Database open read-only'
+
cursor = self.db.conn.cursor()
sql = 'update _%s set __retired__=1 where id=?'%self.classname
if __debug__:
#
# $Log: not supported by cvs2svn $
+# Revision 1.3 2002/08/23 04:58:00 richard
+# ahhh, I understand now
+#
# Revision 1.2 2002/08/23 04:48:10 richard
# That's gadfly done, mostly. Things left:
# - Class.filter (I'm a wuss ;)