summaryrefslogtreecommitdiffstats
path: root/func/overlord/inventory.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/overlord/inventory.py')
-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