summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4ec9ee)
raw | patch | inline | side by side (parent: d4ec9ee)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 3 Sep 2002 05:46:21 +0000 (05:46 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 3 Sep 2002 05:46:21 +0000 (05:46 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1040 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_anydbm.py | patch | blob | history | |
roundup/backends/back_gadfly.py | patch | blob | history |
index 97d6b893bb5188af14728cc24e4be065c409006d..f1f70fc378e9304f7ab4ca1708e840888934609a 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.67 2002-09-03 02:53:53 richard Exp $
+#$Id: back_anydbm.py,v 1.68 2002-09-03 05:46:20 richard Exp $
'''
This module defines a backend that saves the hyperdatabase in a database
chosen by anydbm. It is guaranteed to always be available in python
name = self.db.getjournal(self.classname, nodeid)[0][2]
else:
return None
- return self.db.user.lookup(name)
+ try:
+ return self.db.user.lookup(name)
+ except KeyError:
+ # the journaltag user doesn't exist any more
+ return None
# get the property (raises KeyErorr if invalid)
prop = self.properties[propname]
#
#$Log: not supported by cvs2svn $
+#Revision 1.67 2002/09/03 02:53:53 richard
+#Fixed nasty bug that was preventing changes to multilinks going through.
+#
#Revision 1.66 2002/09/01 04:32:30 richard
#. Lots of cleanup in the classic html (stylesheet, search page, index page, ...)
#. Reinstated searching, but not query saving yet
index 0c0e89c51e60acc6c76f30087c8afad236fb54b8..8bfc257bf5b4d9ba45da835e8e576b3ffe320c9d 100644 (file)
-# $Id: back_gadfly.py,v 1.8 2002-09-03 02:53:53 richard Exp $
+# $Id: back_gadfly.py,v 1.9 2002-09-03 05:46:21 richard Exp $
__doc__ = '''
About Gadfly
============
name = self.db.getjournal(self.classname, nodeid)[0][2]
else:
return None
- return self.db.user.lookup(name)
+ try:
+ return self.db.user.lookup(name)
+ except KeyError:
+ # the journaltag user doesn't exist any more
# get the property (raises KeyErorr if invalid)
prop = self.properties[propname]
#
# $Log: not supported by cvs2svn $
+# Revision 1.8 2002/09/03 02:53:53 richard
+# Fixed nasty bug that was preventing changes to multilinks going through.
+#
# Revision 1.7 2002/09/01 04:32:30 richard
# . Lots of cleanup in the classic html (stylesheet, search page, index page, ...)
# . Reinstated searching, but not query saving yet