From: richard Date: Wed, 26 Mar 2003 05:30:23 +0000 (+0000) Subject: sigh++ X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0616f5de076ac68b5adb66c3158561022258b1e;p=roundup.git sigh++ git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1630 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/back_anydbm.py b/roundup/backends/back_anydbm.py index 278e83c..3ffd80f 100644 --- a/roundup/backends/back_anydbm.py +++ b/roundup/backends/back_anydbm.py @@ -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.115 2003-03-26 05:28:32 richard Exp $ +#$Id: back_anydbm.py,v 1.116 2003-03-26 05:30:23 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 @@ -1640,7 +1640,7 @@ class Class(hyperdb.Class): l.append((LINK, k, u)) elif isinstance(propclass, Multilink): # the value -1 is a special "not set" sentinel - if v in ('-1', ['-1]): + if v in ('-1', ['-1']): v = [] elif type(v) is not type([]): v = [v]