mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Cleanup code
This commit is contained in:
parent
5503b6f20e
commit
c9e7f4dc18
@ -7,12 +7,10 @@ from __future__ import absolute_import
|
||||
|
||||
# Import python libs
|
||||
import logging
|
||||
import salt.utils.http
|
||||
|
||||
__proxyenabled__ = ['philips_hue']
|
||||
|
||||
GRAINS_CACHE = {}
|
||||
DETAILS = {}
|
||||
log = logging.getLogger(__file__)
|
||||
|
||||
|
||||
@ -63,14 +61,14 @@ def shutdown(opts, *args, **kw):
|
||||
|
||||
|
||||
# Callers
|
||||
def call_ping(*args, **kw):
|
||||
def call_ping(*args, **kwargs):
|
||||
'''
|
||||
Ping the lamps
|
||||
'''
|
||||
ping(*args, **kw)
|
||||
|
||||
|
||||
def call_status(*args, **kw):
|
||||
def call_status(*args, **kwargs):
|
||||
'''
|
||||
Return lamps status.
|
||||
'''
|
||||
@ -81,7 +79,7 @@ def call_status(*args, **kw):
|
||||
}
|
||||
|
||||
|
||||
def call_alert(*args, **kw):
|
||||
def call_alert(*args, **kwargs):
|
||||
'''
|
||||
Blink the alert.
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user