use variable require, not __require for defining

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-07 17:03:38 +02:00
parent 4a1cf3dbf3
commit c6e8f163f5

View file

@ -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"))