Skip to content

Commit 4a17002

Browse files
author
Richard Jones
committed
don't modify filterspec passed in (bad Richard)
1 parent 60c135f commit 4a17002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.52 2003-03-26 10:44:03 richard Exp $
1+
# $Id: rdbms_common.py,v 1.53 2003-04-08 06:41:48 richard Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -1824,6 +1824,7 @@ def filter(self, search_matches, filterspec, sort=(None,None),
18241824
elif isinstance(propclass, Link):
18251825
if isinstance(v, type([])):
18261826
if '-1' in v:
1827+
v = v[:]
18271828
v.remove('-1')
18281829
xtra = ' or _%s is NULL'%k
18291830
else:

0 commit comments

Comments
 (0)