From 19a4df655ae2ee91a658c249f5abcbe0e208fa72 Mon Sep 17 00:00:00 2001 From: Pratik Anurag Date: Tue, 15 Oct 2019 19:57:32 +0530 Subject: =?UTF-8?q?removed=20Unnecessary=20=E2=80=9Celse=E2=80=9D=20after?= =?UTF-8?q?=20=E2=80=9Creturn=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/util.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'git') 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 -- cgit v1.2.1