make pylint happy

This commit is contained in:
Marek Marczykowski-Górecki 2017-05-01 02:39:06 +02:00
parent 7ef020d5fe
commit 0d84ee1c24
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -894,7 +894,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
if self.is_running() or self.is_paused():
# This avoids losing the exception if an exception is raised in
# 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
asyncio.ensure_future(self._wait_for_session())