summaryrefslogtreecommitdiff
path: root/addons/google_base_account/wizard
diff options
context:
space:
mode:
authorBhumika (OpenERP) <sbh@tinyerp.com>2011-02-24 15:13:42 +0530
committerBhumika (OpenERP) <sbh@tinyerp.com>2011-02-24 15:13:42 +0530
commitc587299b88ec7d4926bab81a385f2aa9c87400a3 (patch)
treee892309a5f1f02e913df361384ad5c3094846341 /addons/google_base_account/wizard
parent5b8dfb4b3b039c73cc70e0526449ffc9a80f1013 (diff)
[Fix] Fix buildbot Warnings
bzr revid: sbh@tinyerp.com-20110224094342-gekzkzjjlcj58448
Diffstat (limited to 'addons/google_base_account/wizard')
-rw-r--r--addons/google_base_account/wizard/google_login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/google_base_account/wizard/google_login.py b/addons/google_base_account/wizard/google_login.py
index 450057543c4..91a0d88aeaa 100644
--- a/addons/google_base_account/wizard/google_login.py
+++ b/addons/google_base_account/wizard/google_login.py
@@ -19,7 +19,7 @@
#
##############################################################################
-from osv import fields,osv,orm
+from osv import fields,osv
from tools.translate import _
import gdata.contacts.service
@@ -70,7 +70,7 @@ class google_login(osv.osv_memory):
'gmail_password': password
}
self.pool.get('res.users').write(cr, uid, uid, res, context=context)
- except Exception, e:
+ except :
raise osv.except_osv(_('Error'), _("Authication fail check the user and password !"))
return self._get_next_action(cr, uid, context=context)