summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbtimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f>2013-04-24 13:59:15 +0000
committerbtimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f>2013-04-24 13:59:15 +0000
commit8a78d3236747fc2602eff9e307ff938607a14444 (patch)
tree557d47dff64a594926ffaf40bc082c7cf45896c0
parentf2655b37558f4135c8964bf2118c2b6dc4eb88e6 (diff)
downloadpyfilesystem-8a78d3236747fc2602eff9e307ff938607a14444.tar.gz
After testing, there is no unicode in six module. six.text_type represents unicode in py2 and str in py3.
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@856 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/expose/ftp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/expose/ftp.py b/fs/expose/ftp.py
index de8f418..6dbfc92 100644
--- a/fs/expose/ftp.py
+++ b/fs/expose/ftp.py
@@ -28,7 +28,8 @@ from fs.osfs import OSFS
from fs.errors import convert_fs_errors
from fs import iotools
-from six import unicode
+from six import text_type as unicode
+
# Get these once so we can reuse them:
UID = os.getuid()