From ddfd12019772929f8641645cd8368079263b30c8 Mon Sep 17 00:00:00 2001 From: Vitor Lopes Date: Sun, 21 Jun 2020 23:43:31 +0100 Subject: [PATCH] add missing self --- src/modules/packages/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py index 1f4cef986..f2fd135a4 100644 --- a/src/modules/packages/main.py +++ b/src/modules/packages/main.py @@ -325,19 +325,19 @@ class PMPamac(PackageManager): self.check_db_lock() pamac_flags = "install" - check_target_env_call([backend, pamac_flags, "--no-confirm"] + pkgs) + check_target_env_call([self.backend, pamac_flags, "--no-confirm"] + pkgs) def remove(self, pkgs): self.check_db_lock() - check_target_env_call([backend, "remove", "--no-confirm"] + pkgs) + check_target_env_call([self.backend, "remove", "--no-confirm"] + pkgs) def update_db(self): self.check_db_lock() - check_target_env_call([backend, "update", "--no-confirm"]) + check_target_env_call([self.backend, "update", "--no-confirm"]) def update_system(self): self.check_db_lock() - check_target_env_call([backend, "upgrade", "--no-confirm"]) + check_target_env_call([self.backend, "upgrade", "--no-confirm"]) class PMPortage(PackageManager):