From f371ffa696b7fc05b7409be6629e6c564eb80424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 30 Jul 2014 15:13:34 +0200 Subject: [PATCH] Iterate on values, not on keys --- src/modules/unsquashfs/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/unsquashfs/main.py b/src/modules/unsquashfs/main.py index f4ecd623d..2c27a25aa 100644 --- a/src/modules/unsquashfs/main.py +++ b/src/modules/unsquashfs/main.py @@ -93,7 +93,7 @@ class UnsquashOperation: def report_progress(self): progress = float(0) - for status_entry in self.unpackstatus: + for status_entry in self.unpackstatus.values(): if status_entry.total == 0: continue