diff --git a/tryton/common/common.py b/tryton/common/common.py index ac66bccf31..e494cf17ab 100644 --- a/tryton/common/common.py +++ b/tryton/common/common.py @@ -572,7 +572,8 @@ def send_bugtracker(msg, parent): 'issue%s' % issue_id, parent) webbrowser.open(CONFIG['roundup.url'] + 'issue%s' % issue_id, new=2) except Exception, exception: - if 'roundup.cgi.exceptions.Unauthorised' in exception.faultString: + if hasattr(exception, 'faultString') \ + and 'roundup.cgi.exceptions.Unauthorised' in exception.faultString: message(_('Connection error!\n' \ 'Bad username or password!'), parent) return send_bugtracker(msg, parent)