2
0
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:
Thomas Nagy 2014-01-01 16:07:08 +01:00
parent 118bbfbf4d
commit d74a2900a3

View File

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