diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-08-07 13:31:37 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-08-07 13:31:37 +0200 |
| commit | 8a64e7580a03db9065ca8a82c6aae31875b7f840 (patch) | |
| tree | e9af2e3286f4438a74ddc5ca47fccbf4a2a4c10c /addons/import_google/wizard | |
| parent | b0e8ae4c7db5ac05656531d00d8cfe7e7768cd8c (diff) | |
[IMP] all the error messages now start with 'Error\!' (not 'Error' or 'Error \!')
bzr revid: abo@openerp.com-20120807113137-44vehm0mthqawlo3
Diffstat (limited to 'addons/import_google/wizard')
| -rw-r--r-- | addons/import_google/wizard/import_google_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/import_google/wizard/import_google_data.py b/addons/import_google/wizard/import_google_data.py index 324f11293f5..ae3f27d7142 100644 --- a/addons/import_google/wizard/import_google_data.py +++ b/addons/import_google/wizard/import_google_data.py @@ -127,13 +127,13 @@ class synchronize_google(osv.osv_memory): gmail_pwd = user_obj.gmail_password google = self.pool.get('google.login') if not gmail_user or not gmail_pwd: - raise osv.except_osv(_('Error'), _("Invalid login detail !\nPlease specify correct username and password.")) + raise osv.except_osv(_('Error!'), _("Invalid login detail !\nPlease specify correct username and password.")) if context.get('contact'): msg = " Your contacts are being imported in background, an email to %s will be sent when the process is over." % (user_obj.gmail_user) gd_client = google.google_login(gmail_user, gmail_pwd, type='contact') if not gd_client: - raise osv.except_osv(_('Error'), _("Please specify correct username and password!")) + raise osv.except_osv(_('Error!'), _("Please specify correct username and password!")) if obj.group_name not in ['all']: context.update({ 'group_name': obj.group_name}) tables.append('Contact') |
