summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLes Aker <me@lesaker.org>2013-01-27 12:39:35 -0500
committerLes Aker <me@lesaker.org>2013-01-27 12:39:35 -0500
commitf4eed3710ba24e61ea0ec6617ed52fbc615d7e2d (patch)
tree855f1bb8f73a74500cb21e0a83efb4f4769e2ac4
parent0030a2bd099c40d3b5c5f93ec03d3d6bea16859e (diff)
downloadansible-f4eed3710ba24e61ea0ec6617ed52fbc615d7e2d.tar.gz
fixed check for required_together
-rw-r--r--lib/ansible/module_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py
index b7e750f61b..4ed02f732a 100644
--- a/lib/ansible/module_common.py
+++ b/lib/ansible/module_common.py
@@ -481,7 +481,7 @@ class AnsibleModule(object):
if spec is None:
return
for check in spec:
- counts = [ self.count_terms([field]) for field in check ]
+ counts = [ self._count_terms([field]) for field in check ]
non_zero = [ c for c in counts if c > 0 ]
if len(non_zero) > 0:
if 0 in counts: