qubes/core2migration: make pylint happy
It doesn't see the class that is just being defined. But since it is in lambda, that's ok.
This commit is contained in:
parent
6b546ca1e6
commit
d9e23d6535
@ -36,6 +36,7 @@ import qubes.ext.r3compatibility
|
||||
class AppVM(qubes.vm.appvm.AppVM):
|
||||
"""core2 compatibility AppVM class, with variable dir_path"""
|
||||
dir_path = qubes.property('dir_path',
|
||||
# pylint: disable=undefined-variable
|
||||
default=(lambda self: super(AppVM, self).dir_path),
|
||||
saver=qubes.property.dontsave,
|
||||
doc="VM storage directory",
|
||||
@ -47,6 +48,7 @@ class AppVM(qubes.vm.appvm.AppVM):
|
||||
class StandaloneVM(qubes.vm.standalonevm.StandaloneVM):
|
||||
"""core2 compatibility StandaloneVM class, with variable dir_path"""
|
||||
dir_path = qubes.property('dir_path',
|
||||
# pylint: disable=undefined-variable
|
||||
default=(lambda self: super(StandaloneVM, self).dir_path),
|
||||
saver=qubes.property.dontsave,
|
||||
doc="VM storage directory")
|
||||
|
Loading…
Reference in New Issue
Block a user