From ae23f1576f8ce8fa93d88a0b73820538c7d573c4 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 9 Nov 2011 20:28:51 +0100 Subject: [PATCH] --TypeError Signed-off-by: Steven Armstrong --- lib/cdist/config_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 0391dbc5..fbb863c3 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -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)