--TypeError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
f95ee8062f
commit
ae23f1576f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class ConfigInstall(object):
|
||||||
required_object = cdist_object.object_from_name(requirement)
|
required_object = cdist_object.object_from_name(requirement)
|
||||||
|
|
||||||
# The user may have created dependencies without satisfying them
|
# 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)
|
raise cdist.Error(cdist_object.name + " requires non-existing " + requirement.name)
|
||||||
else:
|
else:
|
||||||
self.log.debug("Required object %s exists", requirement.name)
|
self.log.debug("Required object %s exists", requirement.name)
|
||||||
|
|
Loading…
Reference in a new issue