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

Commit 4832aa6

Browse files
Removes local variable 'e' that is assigned to but never used
1 parent ac4fe6e commit 4832aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/repo/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def is_valid_object(self, sha: str, object_type: str = None) -> bool:
633633
return False
634634
else:
635635
return True
636-
except BadObjectase:
636+
except BadObject:
637637
log.debug("Commit hash is invalid.")
638638
return False
639639

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /