Skip to content

Commit

Permalink
fix not enough values to unpack error
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Nov 8, 2023
1 parent f23d4d2 commit bcf6496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceprod/server/plugins/condor_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit bcf6496

Please sign in to comment.