~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-12 07:38:10 UTC
  • mfrom: (3234.2.9 bug.139318)
  • Revision ID: pqm@pqm.ubuntu.com-20080312073810-r3a7ot93mw7hmk1m
(bialix) bzr send: ensure that command line to invoking mail client
 is 8-bit string, not unicode (#139318)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2580
2580
 
2581
2581
    def __init__(self, timezone):
2582
2582
        self.timezone = timezone
 
2583
 
 
2584
 
 
2585
class UnableEncodePath(BzrError):
 
2586
 
 
2587
    _fmt = ('Unable to encode %(kind)s path %(path)r in '
 
2588
            'user encoding %(user_encoding)s')
 
2589
 
 
2590
    def __init__(self, path, kind):
 
2591
        self.path = path
 
2592
        self.kind = kind
 
2593
        self.user_encoding = osutils.get_user_encoding()