Adds additional callbacks keyword for start()

It reflects latest changes in dnf-2.5.0-1
This commit is contained in:
Jaroslav Mracek 2017-05-24 15:28:24 +02:00 committed by Brian C. Lane
parent 5bbd05e620
commit 10bbeac6d1

View File

@ -80,7 +80,7 @@ class LoraxDownloadCallback(dnf.callback.DownloadProgress):
self.downloads[nevra] = done
self._update()
def start(self, total_files, total_size):
def start(self, total_files, total_size, total_drpms=0):
self.total_files = total_files
self.total_size = total_size