~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Michael Ellerman
  • Date: 2006-06-08 04:43:46 UTC
  • mto: (0.3.1 shelf-dev)
  • mto: This revision was merged to the branch mainline in revision 393.
  • Revision ID: michael@ellerman.id.au-20060608044346-2f58031501426a8f
Add a test for basic switch functionality.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
try:
 
2
    from bzrlib.errors import BzrCommandError as CommandError
 
3
except ImportError:
 
4
    class CommandError(Exception):
 
5
        pass
 
6
 
 
7
class PatchFailed(Exception):
 
8
    """Failed applying patch!"""