diff options
author | Pratik Anurag <panurag247365@gmail.com> | 2019-10-15 19:57:32 +0530 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-10-15 18:47:24 +0200 |
commit | 19a4df655ae2ee91a658c249f5abcbe0e208fa72 (patch) | |
tree | d0228538f8ff0be914f4b28cbf660b411860688a | |
parent | 248ad822e2a649d20582631029e788fb09f05070 (diff) | |
download | gitpython-19a4df655ae2ee91a658c249f5abcbe0e208fa72.tar.gz |
removed Unnecessary “else” after “return”
-rw-r--r-- | git/util.py | 5 |
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 |