From c6e8f163f58cf9d3359e8531d6624d7c80e3a666 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 17:03:38 +0200 Subject: [PATCH] use variable require, not __require for defining 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 298161d9..27a3abb1 100644 --- a/lib/cdist/emulator.py +++ b/lib/cdist/emulator.py @@ -131,7 +131,7 @@ def run(argv): # Record requirements if "require" in os.environ: - requirements = os.environ['__require'] + requirements = os.environ['require'] log.debug(object_id + ":Writing requirements: " + requirements) require_fd = open(os.path.join(object_path, "require"), "a") require_fd.write(requirements.replace(" ","\n"))