diff --git a/asterisk_click2dial/asterisk_click2dial.py b/asterisk_click2dial/asterisk_click2dial.py index 5be18fe..125f910 100644 --- a/asterisk_click2dial/asterisk_click2dial.py +++ b/asterisk_click2dial/asterisk_click2dial.py @@ -347,7 +347,8 @@ class res_users(orm.Model): help="Caller ID used for the calls initiated by this user."), # You'd probably think: Asterisk should reuse the callerID of sip.conf! # But it cannot, cf - # http://lists.digium.com/pipermail/asterisk-users/2012-January/269787.html + # http://lists.digium.com/pipermail/asterisk-users/ + # 2012-January/269787.html 'cdraccount': fields.char( 'CDR Account', size=50, help="Call Detail Record (CDR) account used for billing this " diff --git a/base_phone/base_phone.py b/base_phone/base_phone.py index e2f71db..51a70ee 100644 --- a/base_phone/base_phone.py +++ b/base_phone/base_phone.py @@ -107,11 +107,11 @@ class phone_common(orm.AbstractModel): "Cannot reformat the phone number '%s' to " "international format" % vals.get(field)) if context.get('raise_if_phone_parse_fails'): - raise orm.except_orm( - _('Error:'), - _("Cannot reformat the phone number '%s' to " - "international format. Error message: %s") - % (vals.get(field), e)) + raise orm.except_orm( + _('Error:'), + _("Cannot reformat the phone number '%s' to " + "international format. Error message: %s") + % (vals.get(field), e)) return vals def get_name_from_phone_number(