提交 94a3f320 编写于 作者: M Mark Hymers

sort out type problem

Signed-off-by: NMark Hymers <mhy@debian.org>
上级 a2864824
......@@ -769,7 +769,7 @@ def check_poolfile(filename, filesize, md5sum, location_id, session=None):
ret = (False, None)
else:
obj = q.one()
if obj.md5sum != md5sum or obj.filesize != filesize:
if obj.md5sum != md5sum or obj.filesize != int(filesize):
ret = (False, obj)
if ret is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册