~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Robert Collins
  • Date: 2006-04-24 01:45:23 UTC
  • mto: (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 366.
  • Revision ID: robertc@robertcollins.net-20060424014523-ef18f22034f17ec2
Backout debugging tweak to fai.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
class NotCheckout(CommandError):
31
31
    """Specified path is not a checkout."""
 
32
    def __init__(self, path):
 
33
        CommandError.__init__(self, "%s is not a checkout" % path)
32
34
 
33
35
class UncommittedCheckout(CommandError):
34
36
    """This checkout contains uncommitted changes"""
 
37
    def __init__(self):
 
38
        CommandError.__init__(self, "This checkout has uncommitted changes")