summaryrefslogtreecommitdiff
path: root/gbp/errors.py
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-02-11 23:07:41 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-02-11 23:07:41 +0100
commit41e6419dfd337165e679ece4ae3ba310abc94db3 (patch)
tree1136e2bd547b8c9894e1d1ab0fb7501518f788b6 /gbp/errors.py
parent8517e0965163ce6b9ae22cb3e6e3ba09a9be8a68 (diff)
downloadgit-buildpackage-41e6419dfd337165e679ece4ae3ba310abc94db3.tar.gz
git-buildpackage-41e6419dfd337165e679ece4ae3ba310abc94db3.tar.bz2
git-buildpackage-41e6419dfd337165e679ece4ae3ba310abc94db3.zip
use GBPError everywhere and move commands from __init__ to command_wrappers.py
Furthermore pass '-v' in git import-orig on to git_load_dirs
Diffstat (limited to 'gbp/errors.py')
-rw-r--r--gbp/errors.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/gbp/errors.py b/gbp/errors.py
new file mode 100644
index 00000000..be92b99f
--- /dev/null
+++ b/gbp/errors.py
@@ -0,0 +1,10 @@
+# vim: set fileencoding=utf-8 :
+#
+# (C) 2006,2007 Guido Guenther <agx@sigxcpu.org>
+"""Thinks common to all gbp commands"""
+
+class GbpError(Exception):
+ """Generic exception raised in git-buildpackage commands"""
+ pass
+
+# vim:et:ts=4:sw=4: