def _startManager(self, state): port = tryPort() managerSpawner = LocalManagerSpawner(port) managerSpawner.connect("error", self._on_spawner_error, state) managerSpawner.connect("description-changed", self._on_spawner_description_changed) managerSpawner.connect("finished", self._on_spawner_finished, state) managerSpawner.start()
def _startManager(self, state): port = tryPort() managerSpawner = LocalManagerSpawner(port) managerSpawner.connect('error', self._on_spawner_error, state) managerSpawner.connect('description-changed', self._on_spawner_description_changed) managerSpawner.connect('finished', self._on_spawner_finished, state) managerSpawner.start()