use variable require, not __require for defining

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 13 years ago
parent 4a1cf3dbf3
commit c6e8f163f5
  1. 2
      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"))

Loading…
Cancel
Save