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
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user