From 57c9b2edf7fc3f927ecc2a6f5463a843e22cd076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 2 Sep 2018 03:27:14 +0200 Subject: [PATCH] code style fixes --- qubes/app.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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):