projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef4e04
)
add GbpNothingImported exception
author
Guido Günther
<agx@sigxcpu.org>
Fri, 31 Oct 2008 08:51:48 +0000
(09:51 +0100)
committer
Guido Guenther
<agx@sigxcpu.org>
Fri, 31 Oct 2008 08:51:48 +0000
(09:51 +0100)
gbp/errors.py
patch
|
blob
|
history
diff --git
a/gbp/errors.py
b/gbp/errors.py
index 74f0a552f32fabd4d97fa74dff7d61d3c3a00eb1..5aae8b5d281ee1bc1d9f297cb3ca8a5bcde1258a 100644
(file)
--- 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\:·: