More pylint fixes

This commit is contained in:
Wojtek Porczyk 2016-06-16 13:17:24 +02:00
parent a039884230
commit e47043ebd7

View File

@ -1223,6 +1223,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
self, 'Cannot clone a running domain {!r}'.format(self.name))
if hasattr(src, 'volume_config'):
# pylint: disable=attribute-defined-outside-init
self.volume_config = src.volume_config
self.storage = qubes.storage.Storage(self)
self.storage.clone(src)