make pylint happy
This commit is contained in:
parent
7ef020d5fe
commit
0d84ee1c24
@ -894,7 +894,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
|
|||||||
if self.is_running() or self.is_paused():
|
if self.is_running() or self.is_paused():
|
||||||
# This avoids losing the exception if an exception is raised in
|
# This avoids losing the exception if an exception is raised in
|
||||||
# self.force_shutdown(), because the vm is not running or paused
|
# self.force_shutdown(), because the vm is not running or paused
|
||||||
yield from self.kill()
|
yield from self.kill() # pylint: disable=not-an-iterable
|
||||||
raise
|
raise
|
||||||
|
|
||||||
asyncio.ensure_future(self._wait_for_session())
|
asyncio.ensure_future(self._wait_for_session())
|
||||||
|
Loading…
Reference in New Issue
Block a user