add missing self

This commit is contained in:
Vitor Lopes 2020-06-21 23:43:31 +01:00 committed by GitHub
parent 5bb49e252d
commit ddfd120197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):