qubes: make pylint happy

This commit is contained in:
Marek Marczykowski-Górecki 2016-09-03 02:33:17 +02:00
parent e8d011b83f
commit 5c7f589330
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 1 additions and 3 deletions

View File

@ -269,7 +269,7 @@ class PCIDeviceExtension(qubes.ext.Extension):
raise
@qubes.ext.handler('domain-pre-start')
def on_domain_pre_start(self, vm, _event, **kwargs):
def on_domain_pre_start(self, vm, _event, **_kwargs):
# Bind pci devices to pciback driver
for pci in vm.devices['pci'].attached():
self.bind_pci_to_pciback(vm.app, pci)
@ -301,4 +301,3 @@ class PCIDeviceExtension(qubes.ext.Extension):
pass
else:
raise

View File

@ -1,6 +1,5 @@
#!/usr/bin/python2 -O
# vim: fileencoding=utf-8
# pylint: disable=protected-access,pointless-statement
#
# The Qubes OS Project, https://www.qubes-os.org/
#