def _get_service_command_generator(run=utils.run):
 global _service_command_generator
 try:
  return _service_command_generator
 except NameError:
  command_generator = _command_generators[get_name_of_init(run)]
  _service_command_generator = _ServiceCommandGenerator(command_generator)
  return _service_command_generator

def _get_service_command_generator ( run = utils . run ) : global _service_command_generator try : return _service_command_generator except NameError : command_generator = _command_generators [ get_name_of_init ( run ) ] _service_command_generator = _ServiceCommandGenerator ( command_generator ) return _service_command_generator
lazy initializer for servicecommandgenerator using the auto-detect init command .