From f44dc410cfbecfecebf2f8d8e426910cfa2d41a5 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Mon, 24 Mar 2014 10:13:19 +1100 Subject: [PATCH] Remove spurious file close from generated drivers --- site_ansto/instrument/util/gen_sct.py | 1 - 1 file changed, 1 deletion(-) diff --git a/site_ansto/instrument/util/gen_sct.py b/site_ansto/instrument/util/gen_sct.py index c1ab9bcc..61cda0ab 100755 --- a/site_ansto/instrument/util/gen_sct.py +++ b/site_ansto/instrument/util/gen_sct.py @@ -1209,7 +1209,6 @@ def put_postamble(MyDriver): # TODO #txt += [' ${ns}::debug_log 1 "makesctemon ${name} /sics/${name}/emon/monmode /sics/${name}/emon/isintol /sics/${name}/emon/errhandler"'] # txt += [' makesctemon ${name} /sics/${name}/emon/monmode /sics/${name}/emon/isintol /sics/${name}/emon/errhandler'] - txt += [' close ${fd}'] txt += [' } catch_message ]'] txt += [' handle_exception ${catch_status} ${catch_message}'] txt += ['}']