[StGit PATCH 2/5] Wrap excessively long line
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
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>"/"email (name)" string: %s' % address
+ raise CmdException('Incorrect "name <email>"/"email (name)"'
+ ' string: %s' % address)
return ( str_list[0][1], str_list[0][0] )
return str_list[0]