cwctl.py
branchstable
changeset 7369 b3709a8274d5
parent 7155 4bab50b02927
child 7372 65bd75f16d65
equal deleted inserted replaced
7367:96cdd8418a10 7369:b3709a8274d5
   903                 # use cmdline parser to access left/right attributes only
   903                 # use cmdline parser to access left/right attributes only
   904                 # remember that usage requires instance appid as first argument
   904                 # remember that usage requires instance appid as first argument
   905                 scripts, args = self.cmdline_parser.largs[1:], self.cmdline_parser.rargs
   905                 scripts, args = self.cmdline_parser.largs[1:], self.cmdline_parser.rargs
   906                 for script in scripts:
   906                 for script in scripts:
   907                     mih.cmd_process_script(script, scriptargs=args)
   907                     mih.cmd_process_script(script, scriptargs=args)
       
   908                     cnx.commit()
   908             else:
   909             else:
   909                 mih.interactive_shell()
   910                 mih.interactive_shell()
   910         finally:
   911         finally:
   911             if not self.config.pyro:
   912             if not self.config.pyro:
   912                 mih.shutdown()
   913                 mih.shutdown()