diff options
author | btimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-04-24 13:59:15 +0000 |
---|---|---|
committer | btimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-04-24 13:59:15 +0000 |
commit | 961085b81a26f29f3c6def6ba7b19407784dd03f (patch) | |
tree | 557d47dff64a594926ffaf40bc082c7cf45896c0 | |
parent | a93139a2cb45d90ee95900f083d3a707fe847c7c (diff) | |
download | pyfilesystem-git-961085b81a26f29f3c6def6ba7b19407784dd03f.tar.gz |
After testing, there is no unicode in six module. six.text_type represents unicode in py2 and str in py3.
-rw-r--r-- | fs/expose/ftp.py | 3 |
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() |