From 6c606b78e3956a0e235219ccec668480b2ea8378 Mon Sep 17 00:00:00 2001 From: Jaroslav Mracek <jmracek@redhat.com> Date: Wed, 24 May 2017 09:02:14 +0200 Subject: [PATCH] Add new keyword for progress.start (RhBug:1454854) It reflect API changes in dnf-2.5.0-1 https://bugzilla.redhat.com/show_bug.cgi?id=1454854 --- python/dnfdaemon/server/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/dnfdaemon/server/backend.py b/python/dnfdaemon/server/backend.py index 7c1c150..997a466 100644 --- a/python/dnfdaemon/server/backend.py +++ b/python/dnfdaemon/server/backend.py @@ -433,7 +433,7 @@ class Progress(dnf.callback.DownloadProgress): self.dnl = {} self.last_frac = 0 - 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 = float(total_size) self.download_files = 0 -- GitLab