From 6f91fbdc5a01cd3f6aad8050801fa535dc911df0 Mon Sep 17 00:00:00 2001 From: lxnay Date: Sun, 31 Aug 2008 15:20:30 +0000 Subject: [PATCH] Entropy/DistributionUGCInterface: - get_ugc_alldownloads(): force values to int() git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2366 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy.py b/libraries/entropy.py index 370665609..a28e5ef4f 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -17028,7 +17028,7 @@ class DistributionUGCInterface(RemoteDbSkelInterface): data = self.fetchone() if data['tot_downloads'] != None: downloads = data['tot_downloads'] - down_data[d_dict['key']] = downloads + down_data[d_dict['key']] = int(downloads) return down_data def get_iddoc_userid(self, iddoc):