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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user