From 2aa0a316e6fad4bebb5c1b819dde1d6722e46614 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 16:13:00 +0200 Subject: [PATCH] use _path not _dir in emulator Signed-off-by: Nico Schottelius --- lib/cdist/emulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/emulator.py b/lib/cdist/emulator.py index 8b531e22..9672d24a 100644 --- a/lib/cdist/emulator.py +++ b/lib/cdist/emulator.py @@ -30,7 +30,7 @@ log = logging.getLogger(__name__) def run(argv): """Emulate type commands (i.e. __file and co)""" type = os.path.basename(argv[0]) - type_dir = os.path.join(os.environ['__cdist_type_base_dir'], type) + type_dir = os.path.join(os.environ['__cdist_type_base_path'], type) param_dir = os.path.join(type_dir, "parameter") global_dir = os.environ['__global'] object_source = os.environ['__cdist_manifest']