Skip to content

Commit cf1354b

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parent 5514660 commit cf1354b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/config.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,7 @@ def string_decode(v):
339339

340340
if PY3:
341341
return v.encode(defenc).decode('unicode_escape')
342-
else:
343-
return v.decode('string_escape')
342+
return v.decode('string_escape')
344343
# end
345344
# end
346345

0 commit comments

Comments
 (0)