diff --git a/qubes/core2migration.py b/qubes/core2migration.py index 3228887d..01ecbf07 100644 --- a/qubes/core2migration.py +++ b/qubes/core2migration.py @@ -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")