Make pylint happy ♥ qubes/core2migration.py

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-09-12 20:06:08 +02:00
parent 1af1784c69
commit ef56620b6e
No known key found for this signature in database
GPG Key ID: 96ED3C3BA19C3DEE

View File

@ -33,7 +33,7 @@ import qubes.vm.adminvm
import qubes.ext.r3compatibility
class AppVM(qubes.vm.appvm.AppVM):
class AppVM(qubes.vm.appvm.AppVM): # pylint: disable=too-many-ancestors
"""core2 compatibility AppVM class, with variable dir_path"""
dir_path = qubes.property('dir_path',
# pylint: disable=undefined-variable
@ -46,7 +46,8 @@ class AppVM(qubes.vm.appvm.AppVM):
return False
class StandaloneVM(qubes.vm.standalonevm.StandaloneVM):
"""core2 compatibility StandaloneVM class, with variable dir_path"""
"""core2 compatibility StandaloneVM class, with variable dir_path
""" # pylint: disable=too-many-ancestors
dir_path = qubes.property('dir_path',
# pylint: disable=undefined-variable
default=(lambda self: super(StandaloneVM, self).dir_path),