Fix unused variable

This commit is contained in:
VirtuBox
2023-08-13 15:07:26 +02:00
parent 5e6e168563
commit b795784cda

View File

@@ -473,7 +473,7 @@ def post_pref(self, apt_packages, packages, upgrade=False):
# php conf
php_list = []
for pargs_version, version in WOVar.wo_php_versions.items():
for version in list(WOVar.wo_php_versions.values()):
package_name = 'php' + version.replace('.', '') + '-fpm'
if package_name in apt_packages:
php_list.append([version])