mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
Refactor imports
This commit is contained in:
parent
48e761de76
commit
92ee19d643
@ -13,7 +13,6 @@ import urllib.request
|
|||||||
import zipfile
|
import zipfile
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from os import path
|
from os import path
|
||||||
from shutil import copytree
|
|
||||||
|
|
||||||
# --- Globals ----------------------------------------------
|
# --- Globals ----------------------------------------------
|
||||||
PLUGINS = """
|
PLUGINS = """
|
||||||
@ -107,7 +106,7 @@ if __name__ == "__main__":
|
|||||||
temp_directory = tempfile.mkdtemp()
|
temp_directory = tempfile.mkdtemp()
|
||||||
|
|
||||||
if not path.isdir(SOURCE_DIR):
|
if not path.isdir(SOURCE_DIR):
|
||||||
copytree(FALLBACK_SOURCE_DIR, SOURCE_DIR)
|
shutil.copytree(FALLBACK_SOURCE_DIR, SOURCE_DIR)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if futures:
|
if futures:
|
||||||
|
Loading…
Reference in New Issue
Block a user