diff --git a/bin/mk_metadata.py b/bin/mk_metadata.py index d29be1f..a827256 100755 --- a/bin/mk_metadata.py +++ b/bin/mk_metadata.py @@ -305,7 +305,11 @@ def get_qagrade(rc, debug=False): fn = "../../../../dirzip/%s_lmtmetadata.yaml" % (o) # @todo if not found, exit with -1 print("YAML Reading", fn) - fp = open(fn) + try: + fp = open(fn) + except: + os.system("pwd") + sys.exit(1) if True: # native yaml y = yaml.safe_load(fp)