From: Mark Hymers Date: Fri, 20 Mar 2009 21:47:28 +0000 (+0000) Subject: we're using something which understands typing now X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ed82cad44d4e7431ea9a82aaf0c6977f634885c8;p=dak.git we're using something which understands typing now Signed-off-by: Mark Hymers --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 60f0cd3e..b532c351 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -398,7 +398,7 @@ class DBConn(Singleton): else: row = cursor.fetchone() - if row[1] != size or row[2] != md5sum: + if row[1] != int(size) or row[2] != md5sum: res = -2 else: