diff --git a/iceprod/server/plugins/condor_direct.py b/iceprod/server/plugins/condor_direct.py index b3035ec33..9ccacf4fc 100644 --- a/iceprod/server/plugins/condor_direct.py +++ b/iceprod/server/plugins/condor_direct.py @@ -230,7 +230,7 @@ async def get_hold_reason(self, submit_dir, resources=None): with open(submit_filename) as f: for line in f: line = line.strip().lower() - if line: + if '=' in line: key, value = line.split('=', 1) submit_data[key.strip()] = value.strip() filename = os.path.join(submit_dir, 'condor.log')