mirror of
1
0
Fork 0

Can now use python2 or python3 interchangeably.

This commit is contained in:
Joseph Waggy 2017-12-06 11:01:41 -05:00 committed by GitHub
parent 2ca843a22a
commit bf9657fc91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -82,14 +82,13 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
pass pass
shutil.move(plugin_temp_path, plugin_dest_path) shutil.move(plugin_temp_path, plugin_dest_path)
print(zip_path)
print('Updated {0}'.format(plugin_name)) print('Updated {0}'.format(plugin_name))
def update(plugin): def update(plugin):
name, github_url = plugin.split(' ') name, github_url = plugin.split(' ')
zip_path = GITHUB_ZIP % github_url zip_path = GITHUB_ZIP % github_url
print zip_path
download_extract_replace(name, zip_path, download_extract_replace(name, zip_path,
temp_directory, SOURCE_DIR) temp_directory, SOURCE_DIR)