mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-16 11:14:06 +00:00
Fix to script logging
This commit is contained in:
parent
34c29fa692
commit
becac6ac09
@ -31,10 +31,10 @@ LINE_PREFIX = 'snap:'
|
|||||||
|
|
||||||
log("yaml path: {}".format(YAML_PATH))
|
log("yaml path: {}".format(YAML_PATH))
|
||||||
if not os.path.isfile(YAML_PATH):
|
if not os.path.isfile(YAML_PATH):
|
||||||
sys.stderr.write("yaml path not found.\n")
|
log("yaml path not found.")
|
||||||
exit(1)
|
exit(1)
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("yaml path found.\n")
|
log("yaml path found.")
|
||||||
|
|
||||||
# Open the seed.yaml and ingest its contents
|
# Open the seed.yaml and ingest its contents
|
||||||
with open(YAML_PATH, 'r') as fh:
|
with open(YAML_PATH, 'r') as fh:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user