Fix unused variable
This commit is contained in:
@@ -473,7 +473,7 @@ def post_pref(self, apt_packages, packages, upgrade=False):
|
|||||||
|
|
||||||
# php conf
|
# php conf
|
||||||
php_list = []
|
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'
|
package_name = 'php' + version.replace('.', '') + '-fpm'
|
||||||
if package_name in apt_packages:
|
if package_name in apt_packages:
|
||||||
php_list.append([version])
|
php_list.append([version])
|
||||||
|
|||||||
Reference in New Issue
Block a user