提交 2e4d835f 编写于 作者: X Xi Chen

remove commented code

上级 64f97a9f
......@@ -258,6 +258,8 @@ def script_to_str(file_path):
def run_instances(image_id, instance_type, count, role, cmd=""):
if count == 0:
return []
response = ec2client.run_instances(
ImageId=image_id,
InstanceType=instance_type,
......@@ -344,7 +346,6 @@ def parse_command(command_raw, defaults={}):
if ":" in seg:
parameters = seg.split(":")
parameter_map[parameters[0]] = parameters[1]
#seg = "--" + seg.replace(":", " ")
else:
commands_processed.append(seg)
for key, val in parameter_map.iteritems():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册