use variable require, not __require for defining
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
4a1cf3dbf3
commit
c6e8f163f5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue