From 8a78d3236747fc2602eff9e307ff938607a14444 Mon Sep 17 00:00:00 2001 From: btimby Date: Wed, 24 Apr 2013 13:59:15 +0000 Subject: 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 --- fs/expose/ftp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.2.1