diff options
| author | uco (OpenERP) <uco@tinyerp.com> | 2010-11-23 12:35:05 +0530 |
|---|---|---|
| committer | uco (OpenERP) <uco@tinyerp.com> | 2010-11-23 12:35:05 +0530 |
| commit | 6dd290e8245f4ea91ce87b0f3b5f29bafeaf12e9 (patch) | |
| tree | 81db1734d8400a9278e5669da35bbe90076397c0 /addons/base_module_doc_rst/wizard/generate_relation_graph.py | |
| parent | 8035df3e1152a8f9d9703037d9d1bee718d94331 (diff) | |
[REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
Diffstat (limited to 'addons/base_module_doc_rst/wizard/generate_relation_graph.py')
| -rw-r--r-- | addons/base_module_doc_rst/wizard/generate_relation_graph.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/base_module_doc_rst/wizard/generate_relation_graph.py b/addons/base_module_doc_rst/wizard/generate_relation_graph.py index a70c8eaa0f7..7b04f183129 100644 --- a/addons/base_module_doc_rst/wizard/generate_relation_graph.py +++ b/addons/base_module_doc_rst/wizard/generate_relation_graph.py @@ -30,7 +30,6 @@ form_rep = '''<?xml version="1.0"?> def _get_graph(self, cr, uid, datas, context=None): mod_obj = pooler.get_pool(cr.dbname).get('ir.module.module') - if not context: context = {} modules = mod_obj.browse(cr, uid, datas['ids'], context=context) for module in modules: module_data = mod_obj.get_relation_graph(cr, uid, module.name, context=context) |
