@handler.set_ev_cls(topo_event.EventSwitchEnter)
    def _switch_enter_handler(self, ev):
        if self.start_main:
            return

        switches = topo_api.get_switch(self)
        if 2 < len(switches):
            return

        self.start_main = True
        app_mgr = app_manager.AppManager.get_instance()
        self.logger.debug('%s', app_mgr.applications)
        self.switches = app_mgr.applications['switches']
        hub.spawn(self._main)
dataset/ETHPy150Open osrg/ryu/ryu/tests/integrated/test_vrrp_multi.py/VRRPConfigApp._switch_enter_handler/swapped operands of `<`