Ejemplo n.º 1
0
 def _launch(self):
     # First time launch is called, we need to create all the sub actions.
     # As the graph is calling launch a couple of times, we need to do this
     # only once.
     if not self._init:
         self._server.action_event(self, 'start')
         self._add_actions()
         self._init = True
     # Then call the real _launch()
     ActionGroup._launch(self)
Ejemplo n.º 2
0
 def _launch(self):
     # First time launch is called, we need to create all the sub actions.
     # As the graph is calling launch a couple of times, we need to do this
     # only once.
     if not self._init:
         self._server.action_event(self, 'start')
         self._add_actions()
         self._init = True
     # Then call the real _launch()
     ActionGroup._launch(self)