--TypeError

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-11-09 20:28:51 +01:00
parent f95ee8062f
commit ae23f1576f

View file

@ -121,7 +121,7 @@ class ConfigInstall(object):
required_object = cdist_object.object_from_name(requirement)
# The user may have created dependencies without satisfying them
if not required_object.exists():
if not required_object.exists:
raise cdist.Error(cdist_object.name + " requires non-existing " + requirement.name)
else:
self.log.debug("Required object %s exists", requirement.name)