Merge "Remove unnecessary shell=True in subprocess calls"
This commit is contained in:
commit
3e03a17426
@ -74,8 +74,8 @@ class Rally(object):
|
|||||||
|
|
||||||
def __init__(self, fake=False, force_new_db=False):
|
def __init__(self, fake=False, force_new_db=False):
|
||||||
if not os.path.exists(DEPLOYMENT_FILE):
|
if not os.path.exists(DEPLOYMENT_FILE):
|
||||||
subprocess.call("rally deployment config > %s" % DEPLOYMENT_FILE,
|
subprocess.call(["rally", "deployment", "config"],
|
||||||
shell=True)
|
stdout=open(DEPLOYMENT_FILE, "w"))
|
||||||
|
|
||||||
# NOTE(sskripnick): we should change home dir to avoid races
|
# NOTE(sskripnick): we should change home dir to avoid races
|
||||||
# and do not touch any user files in ~/.rally
|
# and do not touch any user files in ~/.rally
|
||||||
|
Loading…
Reference in New Issue
Block a user