cwctl.py
branchstable
changeset 7372 65bd75f16d65
parent 7369 b3709a8274d5
child 7538 849c04098f3f
equal deleted inserted replaced
7371:233b761201e4 7372:65bd75f16d65
   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                     mih.commit()
   909             else:
   909             else:
   910                 mih.interactive_shell()
   910                 mih.interactive_shell()
   911         finally:
   911         finally:
   912             if not self.config.pyro:
   912             if not self.config.pyro:
   913                 mih.shutdown()
   913                 mih.shutdown()