summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 19:56:17 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 18:47:24 +0200
commit248ad822e2a649d20582631029e788fb09f05070 (patch)
treeb1065ab8a70f0549fe857e3279c2a5efc0f131ea
parentb269775a75d9ccc565bbc6b5d4c6e600db0cd942 (diff)
downloadgitpython-248ad822e2a649d20582631029e788fb09f05070.tar.gz
removed Unnecessary “else” after “return”
-rw-r--r--git/remote.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py
index e7b3579b..23337a9c 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -75,8 +75,7 @@ def to_progress_instance(progress):
return RemoteProgress()
# assume its the old API with an instance of RemoteProgress.
- else:
- return progress
+ return progress
class PushInfo(object):