py3 compat

This commit is contained in:
Mircea Ulinic 2016-10-31 12:58:33 +00:00
parent 51467cc66e
commit ba35ed1016
No known key found for this signature in database
GPG Key ID: D8D1A1F6129DCBF4

View File

@ -187,7 +187,7 @@ def _delete_ntp_servers(servers):
def _exec_fun(name, *kargs):
if name in globals().keys():
if name in list(globals().keys()):
return globals().get(name)(*kargs)
return None