Commit 8a70e415 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix JobStorage._GetJobIDsUnlocked

The job ID returned must be an integer (and the regex enforces that),
but we didn't convert it manually.

Reviewed-by: imsnah
parent 911a495b
......@@ -321,7 +321,7 @@ class JobStorage(object):
"""
jfiles = self._ListJobFiles()
return [m.group(1) for m in
return [int(m.group(1)) for m in
[self._RE_JOB_FILE.match(name) for name in jfiles]]
def _ListJobFiles(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment