summaryrefslogtreecommitdiff
path: root/addons/base_module_record
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@tinyerp.com>2009-06-15 14:54:05 +0200
committerChristophe Simonis <christophe@tinyerp.com>2009-06-15 14:54:05 +0200
commit916bd60cd0fcbf80e6fe234ca969b4a8800643b0 (patch)
tree9cfe8234a690e8b010e2f6f583149548df48a232 /addons/base_module_record
parent5b43b63c4d4a41c2bb96c6c48ca4030d5899e7e3 (diff)
[FIX] base_module_record: avoid a crash when calling a method with less than 6 arguments
bzr revid: christophe@tinyerp.com-20090615125405-d1oce88vbqaylqfb
Diffstat (limited to 'addons/base_module_record')
-rw-r--r--addons/base_module_record/base_module_record.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/base_module_record/base_module_record.py b/addons/base_module_record/base_module_record.py
index 5fdbbce0beb..ac460dabbc0 100644
--- a/addons/base_module_record/base_module_record.py
+++ b/addons/base_module_record/base_module_record.py
@@ -41,8 +41,8 @@ def fnct_call(fnct):
if args[4] not in ('default_get','read','fields_view_get','fields_get','search','search_count','name_search','name_get','get','request_get', 'get_sc'):
if _old_args is not None:
args[5].update(_old_args)
- if args[5]:
- mod.recording_data.append(('query', args, argv,res))
+ if args[5]:
+ mod.recording_data.append(('query', args, argv,res))
return res
return execute