Fix is_running non-boolean

This commit is contained in:
Christopher Laprise 2018-02-20 22:30:47 -05:00
parent 4f52a3b62e
commit 75d8c553f9
No known key found for this signature in database
GPG Key ID: 448568C8B281C952

View File

@ -1624,7 +1624,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
else: else:
raise raise
return self.libvirt_domain.isActive() return bool(self.libvirt_domain.isActive())
def is_paused(self): def is_paused(self):
'''Check whether this domain is paused. '''Check whether this domain is paused.