summaryrefslogtreecommitdiff
path: root/fs/expose
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
commit961085b81a26f29f3c6def6ba7b19407784dd03f (patch)
tree557d47dff64a594926ffaf40bc082c7cf45896c0 /fs/expose
parenta93139a2cb45d90ee95900f083d3a707fe847c7c (diff)
downloadpyfilesystem-git-961085b81a26f29f3c6def6ba7b19407784dd03f.tar.gz
After testing, there is no unicode in six module. six.text_type represents unicode in py2 and str in py3.
Diffstat (limited to 'fs/expose')
-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()