Commit 599180bb authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix warning

parent 79a4ba63
......@@ -1070,7 +1070,7 @@ class JobManager(Manager):
ver = ses.query(WebappVersion).filter_by(
webapp_id = job.webapp_id,
number = job.version).filter(
WebappVersion.state != VersionState.error
WebappVersion.state != int(VersionState.error)
if ver is None:
log.error("job %d: webapp %r version %r not found",
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