From becac6ac09e03d5479f789ac07e032f701363525 Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Tue, 16 Oct 2018 13:33:36 -0700 Subject: [PATCH] Fix to script logging --- live-build/snap_seed_parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/snap_seed_parse.py b/live-build/snap_seed_parse.py index 14ff0cbc..b8de1df3 100755 --- a/live-build/snap_seed_parse.py +++ b/live-build/snap_seed_parse.py @@ -31,10 +31,10 @@ LINE_PREFIX = 'snap:' log("yaml path: {}".format(YAML_PATH)) if not os.path.isfile(YAML_PATH): - sys.stderr.write("yaml path not found.\n") + log("yaml path not found.") exit(1) else: - sys.stderr.write("yaml path found.\n") + log("yaml path found.") # Open the seed.yaml and ingest its contents with open(YAML_PATH, 'r') as fh: