~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: John Arbash Meinel
  • Date: 2008-10-28 19:39:57 UTC
  • mfrom: (3804 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3805.
  • Revision ID: john@arbash-meinel.com-20081028193957-zg2eygq5cgz2bnpu
Merge bzr.dev 3804

Show diffs side-by-side

added added

removed removed

Lines of Context:
319
319
 
320
320
 
321
321
def _ensure_unicode(s):
 
322
    from bzrlib import osutils
322
323
    if s and type(s) != unicode:
 
324
        from bzrlib import osutils
323
325
        s = s.decode(osutils.get_user_encoding())
324
326
    return s
325
327