use require, not __require in emulator

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-06 19:50:45 +02:00
parent ccb2ffcae6
commit ae9eba80a9

View file

@ -127,7 +127,7 @@ def run(argv):
param_fd.close() param_fd.close()
# Record requirements # Record requirements
if "__require" in os.environ: if "require" in os.environ:
requirements = os.environ['__require'] requirements = os.environ['__require']
log.debug(object_id + ":Writing requirements: " + requirements) log.debug(object_id + ":Writing requirements: " + requirements)
require_fd = open(os.path.join(object_dir, "require"), "a") require_fd = open(os.path.join(object_dir, "require"), "a")