/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2008-01-16 03:57:26 UTC
  • mfrom: (3186 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3187.
  • Revision ID: aaron@aaronbentley.com-20080116035726-89yctl685d41kc7j
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1870
1870
        BzrError.__init__(self, path)
1871
1871
 
1872
1872
 
 
1873
class ExecutableMissing(BzrError):
 
1874
 
 
1875
    _fmt = "%(exe_name)s could not be found on this machine"
 
1876
 
 
1877
    def __init__(self, exe_name):
 
1878
        BzrError.__init__(self, exe_name=exe_name)
 
1879
 
 
1880
 
1873
1881
class NoDiff(BzrError):
1874
1882
 
1875
1883
    _fmt = "Diff is not installed on this machine: %(msg)s"
2515
2523
                path_str = repr(path)
2516
2524
            path_str += ' '
2517
2525
        self.path_str = path_str
 
2526
 
 
2527
 
 
2528
class UnsupportedTimezoneFormat(BzrError):
 
2529
 
 
2530
    _fmt = ('Unsupported timezone format "%(timezone)s", '
 
2531
            'options are "utc", "original", "local".')
 
2532
 
 
2533
    def __init__(self, timezone):
 
2534
        self.timezone = timezone