kernel: don't modify the args of the call

_where_calc can not modify the args given in the call, need to copy it first

bzr revid: ced-bd9bb054ebc906020858191f950a770b878e6fdb
This commit is contained in:
ced
2007-07-26 08:30:50 +00:00
parent b3813a3ef4
commit 47f1b7bebd
+5
View File
@@ -89,14 +89,19 @@ class except_orm(Exception):
#
# Readonly python database object browser
class browse_null(object):
def __init__(self):
self.id=False
def __getitem__(self, name):
return False
def __int__(self):
return False
def __str__(self):
return ''
def __nonzero__(self):
return False