Mercurial > p > roundup > code
diff roundup/backends/back_anydbm.py @ 930:3c344e942055
Use same regex to split search terms as used to index text.
Fix to back_metakit for not changing journaltag on reopen.
Fix htmltemplate's do_link so [No <whatever>] strings are href'd.
Fix bogus "nosy edited ok" msg - the **d syntax does NOT share d
between caller and callee.
| author | Gordon B. McMillan <gmcm@users.sourceforge.net> |
|---|---|
| date | Thu, 01 Aug 2002 15:06:26 +0000 |
| parents | 51519406b73e |
| children | 301a02ea6020 |
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py Thu Aug 01 01:07:37 2002 +0000 +++ b/roundup/backends/back_anydbm.py Thu Aug 01 15:06:26 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_anydbm.py,v 1.57 2002-07-31 23:57:36 richard Exp $ +#$Id: back_anydbm.py,v 1.58 2002-08-01 15:06:24 gmcm 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 @@ -944,7 +944,7 @@ to modify the "creation" or "activity" properties cause a KeyError. """ if not propvalues: - return + return propvalues if propvalues.has_key('creation') or propvalues.has_key('activity'): raise KeyError, '"creation" and "activity" are reserved' @@ -1124,7 +1124,7 @@ # nothing to do? if not propvalues: - return + return propvalues # do the set, and journal it self.db.setnode(self.classname, nodeid, node) @@ -1135,6 +1135,8 @@ self.fireReactors('set', nodeid, oldvalues) + return propvalues + def retire(self, nodeid): """Retire a node. @@ -1793,6 +1795,9 @@ # #$Log: not supported by cvs2svn $ +#Revision 1.57 2002/07/31 23:57:36 richard +# . web forms may now unset Link values (like assignedto) +# #Revision 1.56 2002/07/31 22:04:33 richard #cleanup #
