()
| 182 | self.parser.parse() |
| 183 | |
| 184 | def update_ui(): |
| 185 | try: |
| 186 | if self.main_window and getattr( |
| 187 | self.main_window, "host_list", None |
| 188 | ): |
| 189 | self.main_window.host_list.load_hosts( |
| 190 | self.parser.config.hosts |
| 191 | ) |
| 192 | except Exception: |
| 193 | pass |
| 194 | return False |
| 195 | |
| 196 | GLib.idle_add(update_ui) |
| 197 | except Exception as e: |
nothing calls this directly
no test coverage detected