aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-01-22 22:37:42 +0100
committerGuido Günther <agx@sigxcpu.org>2017-01-22 22:38:46 +0100
commit84dc3b0b247bb65c5d9e53e9d2237af2b49c0996 (patch)
tree0db2a6188c135c5f65936a76b2aaf639d59e30f5
parentd6aae91e6b65564757eb8380d5e9112f5175417e (diff)
Make flake8 happy
-rw-r--r--gbp/git/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index 300f92c..c9456a7 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -111,7 +111,7 @@ class GitRepository(object):
ret = os.path.abspath(os.path.join(path, cdup or '.'))
except GitRepositoryError:
raise # We already have a useful error message
- except Exception as e:
+ except:
raise GitRepositoryError("No Git repository at '%s'" % path)
return ret