From: Thierry Parmentelat Date: Tue, 2 May 2006 10:55:36 +0000 (+0000) Subject: Does not exit after w/W, so as to allow for a restart to be issued afterwards X-Git-Tag: myplc-0_4-rc1~46 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3560fe316cbb25eac7ffa7e59950f887126b3ff3;p=myplc.git Does not exit after w/W, so as to allow for a restart to be issued afterwards --- diff --git a/plc-config-tty b/plc-config-tty index a762105..74a075c 100755 --- a/plc-config-tty +++ b/plc-config-tty @@ -191,7 +191,7 @@ def mainloop (cdef, cread, cwrite,main_config, site_config, consolidated_config) print ("Wrote %s" % site_config) if (answer == "W"): consolidate(main_config, site_config, consolidated_config) - return + print ("You might want to type 'r' (restart plc) or 'q' (quit)") elif (answer == "l"): print ("Config involves the following variables") sys.stdout.write(cread.output_variables())