Skip to content

Commit f74d619

Browse files
committed
Start requiring 'download-size' for get_details() in spawned
backends Follow up to 736585f Note this applies to get_details_local() as well
1 parent 6c8f56b commit f74d619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/python/packagekit/backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def data(self, data):
232232
sys.stdout.write(_to_utf8("data\t%s\n" % data))
233233
sys.stdout.flush()
234234

235-
def details(self, package_id, summary, package_license, group, desc, url, bytes):
235+
def details(self, package_id, summary, package_license, group, desc, url, bytes, download_bytes):
236236
'''
237237
Send 'details' signal
238238
@param package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora
@@ -243,7 +243,7 @@ def details(self, package_id, summary, package_license, group, desc, url, bytes)
243243
@param url: The upstream project homepage
244244
@param bytes: The size of the package, in bytes
245245
'''
246-
sys.stdout.write(_to_utf8("details\t%s\t%s\t%s\t%s\t%s\t%s\t%ld\n" % (package_id, summary, package_license, group, desc, url, bytes)))
246+
sys.stdout.write(_to_utf8("details\t%s\t%s\t%s\t%s\t%s\t%s\t%ld\t%ld\n" % (package_id, summary, package_license, group, desc, url, bytes, download_bytes)))
247247
sys.stdout.flush()
248248

249249
def files(self, package_id, file_list):

0 commit comments

Comments
 (0)