~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/ftp_server/pyftpdlib_based.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-13 16:10:25 UTC
  • mfrom: (4955.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100113161025-5qx4ky13h27x4kj3
(vila) Better fix for fancy_rename respecting callers file encoding

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        return [osutils.safe_utf8(s) for s in os.listdir(path)]
54
54
 
55
55
    def fs2ftp(self, fspath):
56
 
        p = ftpserver.AbstractedFS.fs2ftp(self, fspath)
 
56
        p = ftpserver.AbstractedFS.fs2ftp(self, osutils.safe_unicode(fspath))
57
57
        return osutils.safe_utf8(p)
58
58
 
59
59
    def ftp2fs(self, ftppath):