summaryrefslogtreecommitdiff
path: root/addons/google_map/wizard/google_map_launch.py
diff options
context:
space:
mode:
authoruco (OpenERP) <uco@tinyerp.com>2010-11-23 12:35:05 +0530
committeruco (OpenERP) <uco@tinyerp.com>2010-11-23 12:35:05 +0530
commit6dd290e8245f4ea91ce87b0f3b5f29bafeaf12e9 (patch)
tree81db1734d8400a9278e5669da35bbe90076397c0 /addons/google_map/wizard/google_map_launch.py
parent8035df3e1152a8f9d9703037d9d1bee718d94331 (diff)
[REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
Diffstat (limited to 'addons/google_map/wizard/google_map_launch.py')
-rw-r--r--addons/google_map/wizard/google_map_launch.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/google_map/wizard/google_map_launch.py b/addons/google_map/wizard/google_map_launch.py
index 6ae9c19d2ce..a2b3003da7c 100644
--- a/addons/google_map/wizard/google_map_launch.py
+++ b/addons/google_map/wizard/google_map_launch.py
@@ -26,8 +26,6 @@ from osv import fields
import time
def _launch_wizard(self, cr, uid, data, context=None):
- if not context:
- context = {}
address_obj= pooler.get_pool(cr.dbname).get('res.partner.address')
m= address_obj.browse(cr, uid, data['id'], context=context)
url=''