Minor formatting

This commit is contained in:
Patrick Lühne 2017-11-24 15:10:00 +01:00
parent 01222247a2
commit 966746e4f9
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -98,13 +98,13 @@ def readBenchmarkConfig(config):
instancesFile = os.path.join(config["storage"]["local"], "instances.yml") instancesFile = os.path.join(config["storage"]["local"], "instances.yml")
with open(instancesFile, "r") as stream: with open(instancesFile, "r") as stream:
instances = yaml.load(stream, Loader=yaml.CLoader) instances = yaml.load(stream, Loader = yaml.CLoader)
# read configurations to test # read configurations to test
configurationsFile = os.path.join(config["storage"]["local"], "configurations.yml") configurationsFile = os.path.join(config["storage"]["local"], "configurations.yml")
with open(configurationsFile, "r") as stream: with open(configurationsFile, "r") as stream:
configurations = yaml.load(stream, Loader=yaml.CLoader) configurations = yaml.load(stream, Loader = yaml.CLoader)
# flatten lists of options # flatten lists of options
for configuration in configurations["configurations"]: for configuration in configurations["configurations"]:
@ -262,7 +262,7 @@ def runJob(configuration, instance, config):
def main(): def main():
with open("config.yml", "r") as stream: with open("config.yml", "r") as stream:
config = yaml.load(stream, Loader=yaml.CLoader) config = yaml.load(stream, Loader = yaml.CLoader)
atexit.register(writeStatus, "benchmark runner exited", config) atexit.register(writeStatus, "benchmark runner exited", config)