From: Mark Hymers Date: Fri, 30 Oct 2009 14:23:10 +0000 (+0000) Subject: sort out type problem X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=94a3f320b410770992c0d46fbc712ef97a4d144c;p=dak.git sort out type problem Signed-off-by: Mark Hymers --- 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: