From 10bbeac6d1373447f43279cb3fdc029c9d40f483 Mon Sep 17 00:00:00 2001 From: Jaroslav Mracek Date: Wed, 24 May 2017 15:28:24 +0200 Subject: [PATCH] Adds additional callbacks keyword for start() It reflects latest changes in dnf-2.5.0-1 --- src/pylorax/dnfhelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/dnfhelper.py b/src/pylorax/dnfhelper.py index 41979b96..754f66bb 100644 --- a/src/pylorax/dnfhelper.py +++ b/src/pylorax/dnfhelper.py @@ -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