From 98f82b07668945b7a53e72c3a8494f99c4b64f64 Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 26 Jul 2007 08:30:53 +0000 Subject: [PATCH] kernel: don't use mutable as default value in function defintion. bzr revid: ced-363da370daff2fbef4b44c34ef12d353e2b13647 --- bin/osv/orm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 85af8e2c9b6..e2300c0a865 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -109,6 +109,7 @@ class browse_null(object): # TODO: execute an object method on browse_record_list # class browse_record_list(list): + def __init__(self, lst, context={}): super(browse_record_list, self).__init__(lst) self.context = context