From 95fcfadb17127013a61968566c62a348bd0078c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Mon, 18 Dec 2017 18:39:17 -0600 Subject: [PATCH] state.yml -> state.yaml to avoid collision with manifests --- .gitignore | 2 +- slides/autotest.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f7b96632..a1168d57 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ prepare-vms/ips.pdf prepare-vms/settings.yaml prepare-vms/tags slides/*.yml.html -slides/state.yml +slides/state.yaml diff --git a/slides/autotest.py b/slides/autotest.py index 03e183a1..396d07ab 100755 --- a/slides/autotest.py +++ b/slides/autotest.py @@ -28,14 +28,14 @@ class State(object): self.next_step = 0 def load(self): - data = yaml.load(open("state.yml")) + data = yaml.load(open("state.yaml")) self.interactive = bool(data["interactive"]) self.verify_status = bool(data["verify_status"]) self.simulate_type = bool(data["simulate_type"]) self.next_step = int(data["next_step"]) def save(self): - with open("state.yml", "w") as f: + with open("state.yaml", "w") as f: yaml.dump(dict( interactive=self.interactive, verify_status=self.verify_status,