From e1cf8d094b0ee74f62613ab5b81d1f08767986a0 Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Wed, 9 Nov 2011 20:29:36 +0100
Subject: [PATCH] --AttributeError

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 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 fbb863c3..3b347eb1 100644
--- a/lib/cdist/config_install.py
+++ b/lib/cdist/config_install.py
@@ -122,7 +122,7 @@ class ConfigInstall(object):
 
             # The user may have created dependencies without satisfying them
             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 " + required_object.name)
             else:
                 self.log.debug("Required object %s exists", requirement.name)