Remove extras spaces
This commit is contained in:
@@ -50,7 +50,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
|
||||
return subprocess.check_call(args, env=env, cwd=cwd, shell=shell)
|
||||
|
||||
# get latest pip once and for all
|
||||
|
||||
|
||||
call(['curl', '-L', '--retry', '3', '--retry-delay', '3', '-o', get_pip_script, get_pip_url])
|
||||
|
||||
for config in python_configurations:
|
||||
|
||||
@@ -63,7 +63,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
|
||||
print('+ ' + ' '.join(args))
|
||||
args = ['cmd', '/E:ON', '/V:ON', '/C'] + args
|
||||
return subprocess.check_call(' '.join(args), env=env, cwd=cwd)
|
||||
|
||||
|
||||
def download(url, dest):
|
||||
print('+ Download ' + url + ' to ' + dest)
|
||||
dest_dir = os.path.dirname(dest)
|
||||
@@ -75,7 +75,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
|
||||
response = urlopen(url)
|
||||
except:
|
||||
if i == repeat_num - 1:
|
||||
raise
|
||||
raise
|
||||
sleep(3)
|
||||
continue
|
||||
break
|
||||
@@ -85,7 +85,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
|
||||
file.write(response.read())
|
||||
finally:
|
||||
response.close()
|
||||
|
||||
|
||||
if IS_RUNNING_ON_AZURE or IS_RUNNING_ON_TRAVIS:
|
||||
shell = simple_shell
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user