This commit is contained in:
Jerome Petazzoni
2015-09-24 16:49:26 +00:00
parent 676bbd02fe
commit d9829f55ea

View File

@@ -7,7 +7,7 @@ import yaml
# - with 1 parameter, the same file will be used for in and out
# - with 2 parameters, the 1st is the input, the 2nd the output
input_file = sys.argv[1]
output_file = sys.argv[:1]
output_file = sys.argv[-1]
stack = yaml.load(open(input_file))