From 177c350747b677a373c75e8a4058b0f070188a20 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@brief.schottelius.org>
Date: Thu, 14 Feb 2013 15:45:58 +0100
Subject: [PATCH] use self.context, not self.local

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
---
 cdist/config_install.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cdist/config_install.py b/cdist/config_install.py
index e74145b0..7c7a876d 100644
--- a/cdist/config_install.py
+++ b/cdist/config_install.py
@@ -135,8 +135,8 @@ class ConfigInstall(object):
         self.log.info("Generating and executing code")
 
         objects = core.CdistObject.list_objects(
-            self.local.object_path,
-            self.local.type_path)
+            self.context.local.object_path,
+            self.context.local.type_path)
 
         dependency_resolver = resolver.DependencyResolver(objects)
         self.log.debug(pprint.pformat(dependency_resolver.dependencies))