~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Raise NoDiff if 'diff' not present.

Show diffs side-by-side

added added

removed removed

Lines of Context:
862
862
        self.format = format
863
863
 
864
864
 
 
865
class NoDiff(BzrNewError):
 
866
    """Diff is not installed on this machine: %(msg)s"""
 
867
 
 
868
    def __init__(self, msg):
 
869
        super(NoDiff, self).__init__(msg=msg)
 
870
 
 
871
 
865
872
class NoDiff3(BzrNewError):
866
873
    """Diff3 is not installed on this machine."""
867
874