From c587299b88ec7d4926bab81a385f2aa9c87400a3 Mon Sep 17 00:00:00 2001 From: "Bhumika (OpenERP)" Date: Thu, 24 Feb 2011 15:13:42 +0530 Subject: [PATCH] [Fix] Fix buildbot Warnings bzr revid: sbh@tinyerp.com-20110224094342-gekzkzjjlcj58448 --- addons/google_base_account/wizard/google_login.py | 4 ++-- 1 file 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)