We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b26ceef commit 6ff7499Copy full SHA for 6ff7499
moban/file_system.py
@@ -1,7 +1,10 @@
1
import sys
2
import logging
3
from contextlib import contextmanager
4
-from urllib.parse import urlparse
+try:
5
+ from urllib.parse import urlparse
6
+except ImportError:
7
+ from urlparse import urlparse
8
9
import fs
10
import fs.path
0 commit comments