From 5615da7c78183e43999abd7fd787397f26fd88b7 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Sat, 19 Mar 2016 17:46:50 +0100 Subject: [PATCH] do not hardcode file name --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index 442ffe8..c17198e 100644 --- a/update.py +++ b/update.py @@ -101,7 +101,7 @@ def parse_yaml(file_name): construct_mapping) return yaml.load(stream, OrderedLoader) - with open("autocmake.yml", 'r') as stream: + with open(file_name, 'r') as stream: try: config = ordered_load(stream, yaml.SafeLoader) except yaml.YAMLError as exc: