gui: make pylint happy

This commit is contained in:
Frédéric Pierret (fepitre) 2019-11-11 11:27:40 +01:00
parent 5f934b43ab
commit 2ccdd4ee8e
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -88,6 +88,7 @@ class GUI(qubes.ext.Extension):
@qubes.ext.handler('property-set:default_guivm', system=True)
def on_property_set_default_guivm(self, app, event, name, newvalue,
oldvalue=None):
# pylint: disable=unused-argument,no-self-use
for vm in app.domains:
if hasattr(vm, 'guivm') and vm.property_is_default('guivm'):
vm.fire_event('property-set:guivm',