/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/tests/ftp_server/pyftpdlib_based.py

  • Committer: Vincent Ladeuil
  • Date: 2010-01-13 15:30:22 UTC
  • mfrom: (4935.1.3 472161-ftp-utf8)
  • mto: This revision was merged to the branch mainline in revision 4956.
  • Revision ID: v.ladeuil+lp@free.fr-20100113153022-1xkfjwo0uevmg1db
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):