Entropy/DistributionUGCInterface:
- do_download() update iddownload on insert_download() git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2627 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -18307,7 +18307,7 @@ class DistributionUGCInterface(RemoteDbSkelInterface):
|
||||
mydate = self.get_date()
|
||||
iddownload = self.get_iddownload(pkgkey, mydate)
|
||||
if iddownload == -1:
|
||||
self.insert_download(pkgkey, mydate, count = 1)
|
||||
iddownload = self.insert_download(pkgkey, mydate, count = 1)
|
||||
else:
|
||||
self.update_download(iddownload, pkgkey, mydate, 1)
|
||||
if do_commit: self.commit()
|
||||
|
||||
Reference in New Issue
Block a user