From 058c7d8913d5a0a83e8865144186fc410068148d Mon Sep 17 00:00:00 2001 From: shainer Date: Mon, 4 Jul 2016 22:18:21 +0100 Subject: [PATCH] packageOperations should be a map between operation type and list of packages. It does not make sense for it to be a list of dictionaries, all with the same format. Also makes conversions with QVariant harder. --- src/modules/packages/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py index 216e1c046..b237fef54 100644 --- a/src/modules/packages/main.py +++ b/src/modules/packages/main.py @@ -124,9 +124,6 @@ def run(): run_operations(pkgman, entry) if libcalamares.globalstorage.contains("packageOperations"): - operations = libcalamares.globalstorage.value("packageOperations") - - for entry in operations: - run_operations(pkgman, entry) + run_operations(libcalamares.globalstorage.value("packageOperations")) return None