From 245d5f1ec62843ac86a5f433cdfe64021764272f Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 31 Oct 2008 09:51:48 +0100 Subject: add GbpNothingImported exception --- gbp/errors.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gbp/errors.py') diff --git a/gbp/errors.py b/gbp/errors.py index 74f0a55..5aae8b5 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\:·: -- cgit v1.2.3