♻️ Py3: get rid of some py2 import stragglers

This commit is contained in:
Gina Häußge committed 2020-10-22 14:29:30 +02:00
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 != "/":