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/project_long_term/wizard | |
| 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/project_long_term/wizard')
| -rw-r--r-- | addons/project_long_term/wizard/project_compute_phases.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/project_long_term/wizard/project_compute_phases.py b/addons/project_long_term/wizard/project_compute_phases.py index f533a496810..ade1da5c9d9 100644 --- a/addons/project_long_term/wizard/project_compute_phases.py +++ b/addons/project_long_term/wizard/project_compute_phases.py @@ -37,8 +37,6 @@ class project_compute_phases(osv.osv_memory): } def check_selection(self, cr, uid, ids, context=None): - if not context: - context = {} return self.compute_date(cr, uid, ids, context=context) |
