diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-15 19:30:03 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-20 14:24:24 +0100 |
commit | e7bbada49300f987ae129147fffe244d0d7a4cb6 (patch) | |
tree | 16c7ae029fc61c541eb21a2a2f2da37432ffedff /gbp/git/errors.py | |
parent | 917a496fd8ffc7e857571ca747df01051ef12e35 (diff) |
Move GitModifier class to separate file
and introduce a new base exception for Git related errors.
Diffstat (limited to 'gbp/git/errors.py')
-rw-r--r-- | gbp/git/errors.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gbp/git/errors.py b/gbp/git/errors.py new file mode 100644 index 00000000..d955a612 --- /dev/null +++ b/gbp/git/errors.py @@ -0,0 +1,22 @@ +# vim: set fileencoding=utf-8 : +# +# (C) 2011 Guido Guenther <agx@sigxcpu.org> +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +"""Git base error exception""" + +class GitError(Exception): + """Exception thrown by Git related classes""" + pass + |