From: Karl Hasselström Date: Tue, 29 Jan 2008 03:03:31 GMT Subject: [StGit PATCH 2/5] Wrap excessively long line Message-ID: <20080129030256.926.84384.stgit@yoghurt> In-Reply-To: <20080129030059.926.29897.stgit@yoghurt> Signed-off-by: Karl Hasselström --- I try to kill those whenever I can get away with it ... stgit/commands/common.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/stgit/commands/common.py b/stgit/commands/common.py index 7d9df02..7a7cb80 100644 --- a/stgit/commands/common.py +++ b/stgit/commands/common.py @@ -274,7 +274,8 @@ def name_email(address): if not str_list: str_list = re.findall('^(.*)\s*\((.*)\)\s*$', address) if not str_list: - raise CmdException, 'Incorrect "name "/"email (name)" string: %s' % address + raise CmdException('Incorrect "name "/"email (name)"' + ' string: %s' % address) return ( str_list[0][1], str_list[0][0] ) return str_list[0]