From 3b4404180d0a12741ba53a5213788cd36ed526b4 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 17 Dec 2007 13:23:49 -0500 Subject: Fix inventory call for mount. --- func/minion/modules/mount.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'func') 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") -- cgit