mirror of https://gitlab.com/ita1024/waf.git
cleanup
This commit is contained in:
parent
a80d9e936f
commit
4b3a288566
|
@ -24,14 +24,14 @@ class cython(cython_base):
|
|||
return ret
|
||||
|
||||
def run(self):
|
||||
if not self.env.CYTHON:
|
||||
for (x, y) in zip(self.outputs, self.cython_cache_outputs):
|
||||
x.write(y.read('rb'), 'wb')
|
||||
else:
|
||||
if self.env.CYTHON:
|
||||
ret = cython_base.run(self)
|
||||
if not ret:
|
||||
for (x, y) in zip(self.outputs, self.cython_cache_outputs):
|
||||
y.parent.mkdir()
|
||||
y.write(x.read('rb'), 'wb')
|
||||
return ret
|
||||
else:
|
||||
for (x, y) in zip(self.outputs, self.cython_cache_outputs):
|
||||
x.write(y.read('rb'), 'wb')
|
||||
|
||||
|
|
Loading…
Reference in New Issue