ui: get rid of unreachable else block

The following commit added an unconditional return statement in the try
block of _move_screen, effectively making the associated else block
unreachable.

  a7bcc7fa add a way to wait for something with notification after 0.1s

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-04-13 18:31:30 +02:00
parent 414a2235e6
commit cb132611c2
1 changed files with 0 additions and 2 deletions

View File

@ -234,8 +234,6 @@ class TuiApplication(Application):
except Exception: except Exception:
self.controllers.index = cur_index self.controllers.index = cur_index
raise raise
else:
return
async def move_screen(self, increment, coro): async def move_screen(self, increment, coro):
view_or_callable = await self.wait_with_progress( view_or_callable = await self.wait_with_progress(