From d74a2900a36d3809680b2ea91c150cf45d454ffe Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Wed, 1 Jan 2014 16:07:08 +0100 Subject: [PATCH] wrong exception name in demos/subst/wscript --- demos/subst/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/subst/wscript b/demos/subst/wscript index aa379903..6e6a54d8 100644 --- a/demos/subst/wscript +++ b/demos/subst/wscript @@ -40,7 +40,7 @@ def build(bld): def hlink(task): try: link = os.link - except NameError: + except AttributeError: task.outputs[0].write(task.inputs[0].read('rb'), 'wb') else: for x, y in zip(task.inputs, task.outputs):