mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
#16991 Fixed pylint issues
This commit is contained in:
parent
7c4414cd7a
commit
f2d89c0b5c
@ -137,6 +137,7 @@ def _active_mounts_openbsd(ret):
|
||||
'device_uuid': parens[0]}
|
||||
return ret
|
||||
|
||||
|
||||
def _active_mounts_darwin(ret):
|
||||
'''
|
||||
List active mounts on Mac OS systems
|
||||
@ -149,6 +150,7 @@ def _active_mounts_darwin(ret):
|
||||
'opts': parens[1:]}
|
||||
return ret
|
||||
|
||||
|
||||
def active(extended=False):
|
||||
'''
|
||||
List the active mounts.
|
||||
@ -478,7 +480,6 @@ def set_automaster(
|
||||
__salt__['file.touch'](config)
|
||||
__salt__['file.append'](automaster_file, "/-\t\t\t{0}".format(config))
|
||||
|
||||
|
||||
name = "/..{0}".format(name)
|
||||
device_fmt = "{0}:{1}".format(fstype, device)
|
||||
type_opts = "-fstype={0},{1}".format(fstype, opts)
|
||||
|
@ -482,7 +482,7 @@ def unmounted(name,
|
||||
return ret
|
||||
|
||||
|
||||
def mod_watch(name, **kwargs):
|
||||
def mod_watch(name, user=None, **kwargs):
|
||||
'''
|
||||
The mounted watcher, called to invoke the watch command.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user