'rc' referenced before assignment in aur.py

This commit is contained in:
Roland Puntaier
2021-01-19 23:21:36 +01:00
committed by GitHub
parent 592c6d9841
commit ccf9e492ac

View File

@@ -260,6 +260,7 @@ def install_packages(module, packages, use, extra_args, state, skip_pgp_check, i
changed_iter = False
rc = 0
for package in packages:
if state == 'present':
if package_installed(module, package):