Skip to content

Commit 248ad82

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parent b269775 commit 248ad82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git/remote.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ def to_progress_instance(progress):
7575
return RemoteProgress()
7676

7777
# assume its the old API with an instance of RemoteProgress.
78-
else:
79-
return progress
78+
return progress
8079

8180

8281
class PushInfo(object):

0 commit comments

Comments
 (0)