From 94a3f320b410770992c0d46fbc712ef97a4d144c Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 30 Oct 2009 14:23:10 +0000 Subject: [PATCH] sort out type problem Signed-off-by: Mark Hymers --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 75d271bd..9fd1fbd8 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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: -- 2.39.5