'rc' referenced before assignment in aur.py

pull/50/head
Roland Puntaier 2021-01-19 23:21:36 +01:00 committed by GitHub
parent 592c6d9841
commit ccf9e492ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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