From 12fcd1be2f1a891b7fe099ad0044e68c45280907 Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Fri, 19 Nov 2010 19:18:01 +0530 Subject: [IMP] : Added context=None on methods used for _constraints and replaced context={} with context=None. bzr revid: uco@tinyerp.com-20101119134801-974ev29j4tu46pq2 --- addons/base_module_doc_rst/wizard/wizard_tech_guide_rst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/base_module_doc_rst/wizard/wizard_tech_guide_rst.py') diff --git a/addons/base_module_doc_rst/wizard/wizard_tech_guide_rst.py b/addons/base_module_doc_rst/wizard/wizard_tech_guide_rst.py index 02561c6eb5c..b7a5d6da397 100644 --- a/addons/base_module_doc_rst/wizard/wizard_tech_guide_rst.py +++ b/addons/base_module_doc_rst/wizard/wizard_tech_guide_rst.py @@ -404,7 +404,7 @@ class wizard_tech_guide_rst(wizard.interface): 'name': 'modules_technical_guide_rst.tgz' } - def _get_views(self, cr, uid, module_id, context={}): + def _get_views(self, cr, uid, module_id, context=None): pool = pooler.get_pool(cr.dbname) module_module_obj = pool.get('ir.module.module') res = {} -- cgit v1.2.3