m_names variable added to module.run func so now it is possible to run cloud.create module and others who use the names var instead of name

This commit is contained in:
Your Name 2015-05-29 09:02:36 -04:00
parent 1b306c5849
commit 0532fd5d2a

View File

@ -160,6 +160,8 @@ def run(name, **kwargs):
rarg = 'm_name'
elif arg == 'fun':
rarg = 'm_fun'
elif arg == 'names':
rarg = 'm_names'
else:
rarg = arg
if rarg not in kwargs and arg not in defaults: