diff options
author | Robert Westman <robert@byteflux.io> | 2021-06-05 12:34:24 +0200 |
---|---|---|
committer | Robert Westman <robert@byteflux.io> | 2021-06-05 12:34:24 +0200 |
commit | 4832aa6bf82e4853f8f426fc06350540e2c8a9e7 (patch) | |
tree | 3ca3cf62fb4e031a422776945b39c226a227bd96 /git/repo/base.py | |
parent | ac4fe6efbccc2ad5c2044bf36e34019363018630 (diff) | |
download | gitpython-4832aa6bf82e4853f8f426fc06350540e2c8a9e7.tar.gz |
Removes local variable 'e' that is assigned to but never used
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index b19503ee..d38cf756 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -633,7 +633,7 @@ class Repo(object): return False else: return True - except BadObject as e: + except BadObject: log.debug("Commit hash is invalid.") return False |