Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64b85ee

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parentcf1354b commit64b85ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/refs/head.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ def checkout(self, force=False, **kwargs):
219219
self.repo.git.checkout(self,**kwargs)
220220
ifself.repo.head.is_detached:
221221
returnself.repo.head
222-
else:
223-
returnself.repo.active_branch
222+
returnself.repo.active_branch
224223

225224
#{ Configuration
226225
def_config_parser(self,read_only):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp