From 2d25007ac6f59841ce317d4032efb0b5dd15b327 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 8 Apr 2003 06:41:48 +0000 Subject: [PATCH] don't modify filterspec passed in (bad Richard) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1650 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/backends/rdbms_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roundup/backends/rdbms_common.py b/roundup/backends/rdbms_common.py index f9d45cf..ffc9391 100644 --- a/roundup/backends/rdbms_common.py +++ b/roundup/backends/rdbms_common.py @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.52 2003-03-26 10:44:03 richard Exp $ +# $Id: rdbms_common.py,v 1.53 2003-04-08 06:41:48 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -1824,6 +1824,7 @@ class Class(hyperdb.Class): elif isinstance(propclass, Link): if isinstance(v, type([])): if '-1' in v: + v = v[:] v.remove('-1') xtra = ' or _%s is NULL'%k else: -- 2.30.2