diff --git a/qubes/app.py b/qubes/app.py index da668c51..5deff36f 100644 --- a/qubes/app.py +++ b/qubes/app.py @@ -1254,13 +1254,17 @@ class Qubes(qubes.PropertyHolder): elif event == libvirt.VIR_DOMAIN_EVENT_SUSPENDED: try: vm.fire_event('domain-paused') - except Exception: # pylint: disable=broad-except - self.log.exception('Uncaught exception from domain-paused handler for domain %s', vm.name) + except Exception: # pylint: disable=broad-except + self.log.exception( + 'Uncaught exception from domain-paused handler ' + 'for domain %s', vm.name) elif event == libvirt.VIR_DOMAIN_EVENT_RESUMED: try: vm.fire_event('domain-unpaused') - except Exception: # pylint: disable=broad-except - self.log.exception('Uncaught exception from domain-unpaused handler for domain %s', vm.name) + except Exception: # pylint: disable=broad-except + self.log.exception( + 'Uncaught exception from domain-unpaused handler ' + 'for domain %s', vm.name) @qubes.events.handler('domain-pre-delete') def on_domain_pre_deleted(self, event, vm):