missing import

This commit is contained in:
Thomas Nagy 2014-09-21 21:02:54 +02:00
parent 471e8faf6e
commit d43e1278cf
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,8 @@ Known issues:
"""
from waflib import Node, Task, Utils, Options, TaskGen, Errors
import os
from waflib import Task, Utils, Options, TaskGen, Errors
class run_halide_gen(Task.Task):
color = 'CYAN'
@ -103,7 +104,6 @@ def halide(self):
cwd = tgt[0].parent.abspath()
task = self.create_task('run_halide_gen', src, tgt, cwd=cwd)
task.env.append_unique('HALIDE_ARGS', args)
oldenv = task.env.env
if task.env.env == []:
task.env.env = {}
task.env.env.update(env)