diff options
author | Adrien JUND <adrien.jund@islog.com> | 2016-10-20 17:34:41 +0200 |
---|---|---|
committer | Adrien JUND <adrien.jund@islog.com> | 2016-10-20 17:34:41 +0200 |
commit | 6bcc9d032a6671dd5687fb8a7dc24cc6c73410b3 (patch) | |
tree | 65eb1a3653f1acc55a7d9157d93a8254f12f499d | |
parent | e2bf5a45ae5e5557182302d52ff282bb0b62972b (diff) | |
download | pyfilesystem-git-6bcc9d032a6671dd5687fb8a7dc24cc6c73410b3.tar.gz |
fix import
-rw-r--r-- | fs/expose/dokan/__init__.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/expose/dokan/__init__.py b/fs/expose/dokan/__init__.py index 52052fb..13de6a0 100644 --- a/fs/expose/dokan/__init__.py +++ b/fs/expose/dokan/__init__.py @@ -33,7 +33,7 @@ can be controlled through the returned subprocess.Popen object. To avoid spawning a new process, set the 'foreground' option:: >>> # This will block until the filesystem is unmounted - >>> dokan.mount(fs, "Q", foreground=True) + >>> dokan.mount(fs, "Q:\\", foreground=True) Any additional options for the Dokan process can be passed as keyword arguments to the 'mount' function. @@ -77,6 +77,7 @@ except ImportError: import datetime import ctypes from collections import deque +from six.moves import range from fs.base import threading from fs.errors import * @@ -100,9 +101,6 @@ else: import logging logger = logging.getLogger("fs.expose.dokan") -if six.PY3: - xrange = range - # Options controlling the behavior of the Dokan filesystem # Ouput debug message |