mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
py3 compat
This commit is contained in:
parent
51467cc66e
commit
ba35ed1016
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user