From cd28ff9fdd677c27d857e0699b6dec3e7fd081d1 Mon Sep 17 00:00:00 2001 From: mquezada Date: Thu, 17 May 2018 18:28:58 -0400 Subject: [PATCH] Fix issue #248 where set_sys command returned failure feedback even on command success. --- tclCommands/TclCommandSetSys.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tclCommands/TclCommandSetSys.py b/tclCommands/TclCommandSetSys.py index 327e0725..2f163cce 100644 --- a/tclCommands/TclCommandSetSys.py +++ b/tclCommands/TclCommandSetSys.py @@ -66,8 +66,7 @@ class TclCommandSetSys(TclCommand.TclCommand): pass self.app.defaults[param] = value - self.app.propagate_defaults() - - self.raise_tcl_error("No such system parameter \"{}\".".format(param)) + else: + self.raise_tcl_error("No such system parameter \"{}\".".format(param))