Skip to content
Snippets Groups Projects
Commit ce6d7e64 authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

Py3 support for php_fpm_tools plugin

parent d662d57f
Branches
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ config_file=os.path.join(os.environ.get("MK_CONFDIR", "/etc/check_mk"), "php_fpm
php_fpm = None
if os.path.exists(config_file):
execfile(config_file)
exec(open(config_file).read())
if not php_fpm:
print("Config file does not exist or is empty!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment