Skip to content

Commit 4832aa6

Browse files
committed
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

+1-1
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 BadObject as e:
636+
except BadObject:
637637
log.debug("Commit hash is invalid.")
638638
return False
639639

0 commit comments

Comments
 (0)