aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
Diffstat (limited to 'gbp')
-rw-r--r--gbp/errors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gbp/errors.py b/gbp/errors.py
index 74f0a552..5aae8b5d 100644
--- a/gbp/errors.py
+++ b/gbp/errors.py
@@ -7,4 +7,9 @@ class GbpError(Exception):
"""Generic exception raised in git-buildpackage commands"""
pass
+class GbpNothingImported(GbpError):
+ msg = "Nothing to commit, nothing imported."
+ def __str__(self):
+ return self.msg
+
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: