summaryrefslogtreecommitdiffstats
path: root/func/overlord
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-02-04 17:42:18 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-02-04 17:42:18 -0500
commit6c28717779fb12abc7bf5ea434b61973dbe009a1 (patch)
tree2b878d99ee96fd6d642ee83cdcbe7d71500b7d39 /func/overlord
parent323f05de0a3ace6fd39bb75e97ce2ac52db2fa63 (diff)
downloadthird_party-func-6c28717779fb12abc7bf5ea434b61973dbe009a1.tar.gz
third_party-func-6c28717779fb12abc7bf5ea434b61973dbe009a1.tar.xz
third_party-func-6c28717779fb12abc7bf5ea434b61973dbe009a1.zip
Get ready for release but also fix func-inventory so it understands the new hierarchies found in things such as the netapp module.
Diffstat (limited to 'func/overlord')
-rwxr-xr-xfunc/overlord/inventory.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/func/overlord/inventory.py b/func/overlord/inventory.py
index c2a1d30..8302a1c 100755
--- a/func/overlord/inventory.py
+++ b/func/overlord/inventory.py
@@ -96,7 +96,9 @@ class FuncInventory(object):
# print "-- connection refused: %s" % host
# break
- (module_name, method_name) = each_method.split(".")
+ tokens = each_method.split(".")
+ module_name = ".".join(tokens[:-1])
+ method_name = tokens[-1]
if not "all" in filtered_module_list and not module_name in filtered_module_list:
continue