summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/util.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/git/util.py b/git/util.py
index c395afd2..99600e37 100644
--- a/git/util.py
+++ b/git/util.py
@@ -577,9 +577,8 @@ class Actor(object):
m = cls.name_only_regex.search(string)
if m:
return Actor(m.group(1), None)
- else:
- # assume best and use the whole string as name
- return Actor(string, None)
+ # assume best and use the whole string as name
+ return Actor(string, None)
# END special case name
# END handle name/email matching