use self.context, not self.local

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-02-14 15:45:58 +01:00
parent d1e06504a2
commit 177c350747

View file

@ -135,8 +135,8 @@ class ConfigInstall(object):
self.log.info("Generating and executing code") self.log.info("Generating and executing code")
objects = core.CdistObject.list_objects( objects = core.CdistObject.list_objects(
self.local.object_path, self.context.local.object_path,
self.local.type_path) self.context.local.type_path)
dependency_resolver = resolver.DependencyResolver(objects) dependency_resolver = resolver.DependencyResolver(objects)
self.log.debug(pprint.pformat(dependency_resolver.dependencies)) self.log.debug(pprint.pformat(dependency_resolver.dependencies))