mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 11:19:52 +01:00
wrong exception name in demos/subst/wscript
This commit is contained in:
parent
118bbfbf4d
commit
d74a2900a3
@ -40,7 +40,7 @@ def build(bld):
|
|||||||
def hlink(task):
|
def hlink(task):
|
||||||
try:
|
try:
|
||||||
link = os.link
|
link = os.link
|
||||||
except NameError:
|
except AttributeError:
|
||||||
task.outputs[0].write(task.inputs[0].read('rb'), 'wb')
|
task.outputs[0].write(task.inputs[0].read('rb'), 'wb')
|
||||||
else:
|
else:
|
||||||
for x, y in zip(task.inputs, task.outputs):
|
for x, y in zip(task.inputs, task.outputs):
|
||||||
|
Loading…
Reference in New Issue
Block a user