More pylint fixes
This commit is contained in:
parent
a039884230
commit
e47043ebd7
@ -1223,6 +1223,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
|
|||||||
self, 'Cannot clone a running domain {!r}'.format(self.name))
|
self, 'Cannot clone a running domain {!r}'.format(self.name))
|
||||||
|
|
||||||
if hasattr(src, 'volume_config'):
|
if hasattr(src, 'volume_config'):
|
||||||
|
# pylint: disable=attribute-defined-outside-init
|
||||||
self.volume_config = src.volume_config
|
self.volume_config = src.volume_config
|
||||||
self.storage = qubes.storage.Storage(self)
|
self.storage = qubes.storage.Storage(self)
|
||||||
self.storage.clone(src)
|
self.storage.clone(src)
|
||||||
|
Loading…
Reference in New Issue
Block a user