diff options
author | Guido Günther <agx@sigxcpu.org> | 2008-10-31 09:51:48 +0100 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-10-31 09:51:48 +0100 |
commit | 245d5f1ec62843ac86a5f433cdfe64021764272f (patch) | |
tree | eb7899b104cafc26dec6e70a114cd8e701963320 /gbp/errors.py | |
parent | 1ef4e041ff117f7124c7116ea3f37ade5fbd645f (diff) | |
download | git-buildpackage-245d5f1ec62843ac86a5f433cdfe64021764272f.tar.gz git-buildpackage-245d5f1ec62843ac86a5f433cdfe64021764272f.tar.bz2 git-buildpackage-245d5f1ec62843ac86a5f433cdfe64021764272f.zip |
add GbpNothingImported exception
Diffstat (limited to 'gbp/errors.py')
-rw-r--r-- | gbp/errors.py | 5 |
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\:·: |