From 3565e2d8852c8db3e10c71e57d75c09cd5e22b9b Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Wed, 18 May 2016 22:12:22 +0200 Subject: [PATCH] pass argv --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index 8d72342..ad217b5 100644 --- a/update.py +++ b/update.py @@ -300,7 +300,7 @@ def fetch_modules(config, relative_path): return modules -def process_yaml(): +def process_yaml(argv): from autocmake.parse_yaml import parse_yaml project_root = argv[1] @@ -408,7 +408,7 @@ def main(argv): ) sys.exit(0) - process_yaml() + process_yaml(argv) def make_executable(path):