diff options
-rw-r--r-- | func/minion/modules/mount.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/func/minion/modules/mount.py b/func/minion/modules/mount.py index d29ba9d..2ca15fe 100644 --- a/func/minion/modules/mount.py +++ b/func/minion/modules/mount.py @@ -23,7 +23,7 @@ class MountModule(func_module.FuncModule): self.methods = { "list": self.list, "mount": self.mount, - "umount": self.umount + "umount": self.umount, "inventory": self.inventory, } func_module.FuncModule.__init__(self) @@ -81,7 +81,7 @@ class MountModule(func_module.FuncModule): else: return False - def inventory(self): + def inventory(self, flatten=True): cmd = sub_process.Popen(["/bin/mount"], stdout=sub_process.PIPE, shell=False) output = cmd.communicate()[0] lines = output.split("\n") |