From 2a6bf50621416ca519e7b0f143ff58e51c3f9f88 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 29 Mar 2019 16:53:02 -0400 Subject: [PATCH] [unpackfs] Don't let ir-phase reduce total number of files --- src/modules/unpackfs/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/unpackfs/main.py b/src/modules/unpackfs/main.py index 40cd8c628..de9108254 100644 --- a/src/modules/unpackfs/main.py +++ b/src/modules/unpackfs/main.py @@ -274,7 +274,8 @@ class UnpackOperation: :param copied: """ entry.copied = copied - entry.total = total + if total > entry.total: + entry.total = total self.report_progress() try: