Skip to content

Commit 6bcc9d0

Browse files
author
Adrien JUND
committed
fix import
1 parent e2bf5a4 commit 6bcc9d0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

fs/expose/dokan/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
spawning a new process, set the 'foreground' option::
3434
3535
>>> # This will block until the filesystem is unmounted
36-
>>> dokan.mount(fs, "Q", foreground=True)
36+
>>> dokan.mount(fs, "Q:\\", foreground=True)
3737
3838
Any additional options for the Dokan process can be passed as keyword arguments
3939
to the 'mount' function.
@@ -77,6 +77,7 @@
7777
import datetime
7878
import ctypes
7979
from collections import deque
80+
from six.moves import range
8081

8182
from fs.base import threading
8283
from fs.errors import *
@@ -100,9 +101,6 @@
100101
import logging
101102
logger = logging.getLogger("fs.expose.dokan")
102103

103-
if six.PY3:
104-
xrange = range
105-
106104

107105
# Options controlling the behavior of the Dokan filesystem
108106
# Ouput debug message

0 commit comments

Comments
 (0)