chiark / gitweb /
Make a common superclass for all StGit exceptions
authorKarl Hasselström <kha@treskal.com>
Sun, 7 Oct 2007 13:07:11 +0000 (15:07 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 7 Oct 2007 22:14:11 +0000 (00:14 +0200)
commit87c93eab2ff972a33bacecc9175e4a960c1408ec
treeaa8f9ab9fc4fa4dc0685613c6b3b61d865680d26
parent7e301a7348d0b3006ffa7b2309aa6f40cc29a292
Make a common superclass for all StGit exceptions

This makes it easier to catch them all. (Indeed, the very long list of
exceptions to catch in main.py was missing some of the exceptions.)

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/common.py
stgit/config.py
stgit/exception.py [new file with mode: 0644]
stgit/git.py
stgit/gitmergeonefile.py
stgit/main.py
stgit/run.py
stgit/stack.py
stgit/utils.py