~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-10 03:03:24 UTC
  • mfrom: (4423.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090610030324-iuwo21bbtvf72wux
(mbp) Remove users of bzrlib.user_encoding

Show diffs side-by-side

added added

removed removed

Lines of Context:
722
722
               _format_date(t, offset, timezone, date_fmt, show_offset)
723
723
    date_str = time.strftime(date_fmt, tt)
724
724
    if not isinstance(date_str, unicode):
725
 
        date_str = date_str.decode(bzrlib.user_encoding, 'replace')
 
725
        date_str = date_str.decode(get_user_encoding(), 'replace')
726
726
    return date_str + offset_str
727
727
 
728
728
def _format_date(t, offset, timezone, date_fmt, show_offset):