/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: Canonical.com Patch Queue Manager
  • Date: 2008-01-02 09:21:58 UTC
  • mfrom: (3148.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080102092158-pz0zkj0mm2zbht1y
Fixed error reporting of unsupported timezone format (Lukas Lalinsky)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2515
2515
                path_str = repr(path)
2516
2516
            path_str += ' '
2517
2517
        self.path_str = path_str
 
2518
 
 
2519
 
 
2520
class UnsupportedTimezoneFormat(BzrError):
 
2521
 
 
2522
    _fmt = ('Unsupported timezone format "%(timezone)s", '
 
2523
            'options are "utc", "original", "local".')
 
2524
 
 
2525
    def __init__(self, timezone):
 
2526
        self.timezone = timezone