Add **kwargs to service.mod_watch

Gets rid of warnings about `enable` and `__reqs__` not being supported
by the function
This commit is contained in:
Colton Myers 2014-12-09 11:13:16 -07:00
parent 6368bef4e1
commit 08d4cbdbe3

View File

@ -416,7 +416,12 @@ def disabled(name, **kwargs):
return _disable(name, None, **kwargs)
def mod_watch(name, sfun=None, sig=None, reload=False, full_restart=False):
def mod_watch(name,
sfun=None,
sig=None,
reload=False,
full_restart=False,
**kwargs):
'''
The service watcher, called to invoke the watch command.