mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add 'versionadded'
This commit is contained in:
parent
6bdf98d2c6
commit
8823225c81
3 changed files with 12 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
|||
|
||||
'''
|
||||
Static grains for the Philips HUE lamps
|
||||
|
||||
.. versionadded:: 2015.8.3
|
||||
'''
|
||||
|
||||
__proxyenabled__ = ['philips_hue']
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
'''
|
||||
Philips HUE lamps module for proxy.
|
||||
|
||||
.. versionadded:: 2015.8.3
|
||||
'''
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
@ -40,7 +42,13 @@ def __virtual__():
|
|||
return False
|
||||
|
||||
def _mkf(cmd_name, doc):
|
||||
'''
|
||||
Nested function to help move proxy functions into sys.modules
|
||||
'''
|
||||
def _cmd(*args, **kw):
|
||||
'''
|
||||
Call commands in proxy
|
||||
'''
|
||||
proxyfn = 'philips_hue.'+cmd_name
|
||||
return __proxy__[proxyfn](*args, **kw)
|
||||
return _cmd
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
'''
|
||||
Philips HUE lamps module for proxy.
|
||||
|
||||
.. versionadded:: 2015.8.3
|
||||
'''
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
|
Loading…
Add table
Reference in a new issue