From 40ecb8478de2aa260bc59acf53203ce0b1bc39fd Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Sun, 16 Jun 2013 10:54:19 +1000 Subject: [PATCH] The env var field in the default SICS start string should be blank. By default SICS is launched with no environment variables and sudo doesn't allow 'None' on the ICS computers. --- site_ansto/instrument/runsics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_ansto/instrument/runsics.py b/site_ansto/instrument/runsics.py index 5cef6dd1..64fe1e7e 100755 --- a/site_ansto/instrument/runsics.py +++ b/site_ansto/instrument/runsics.py @@ -61,7 +61,7 @@ def start_cmd(server, args): else: soffset = '' sicsenv = { - 'none': None, + 'none': '', 'fullsim': 'SICS_SIMULATION=full%s' % soffset, 'fakedev': 'SICS_SIMULATION=fakedev%s' % soffset, 'scriptval': 'SICS_SIMULATION=script_validator%s' % soffset