♻️ Py3: get rid of some py2 import stragglers
This commit is contained in:
1 parent
f510cc4218
commit
d98a6da7b2
6 files changed
+8
-37
No files matched your search
@@ -668,12 +668,7 @@ class PluginManagerPlugin(
|
||||
409,
|
||||
)
|
||||
|
||||
try:
|
||||
# Py3
|
||||
from urllib.parse import quote as url_quote
|
||||
except ImportError:
|
||||
# Py2
|
||||
from urllib import quote as url_quote
|
||||
from urllib.parse import quote as url_quote
|
||||
|
||||
path = os.path.abspath(path)
|
||||
if os.sep != "/":
|
||||
|
||||
Reference in new issue
Block a user