浏览代码

More pylint fixes

Wojtek Porczyk 8 年之前
父节点
当前提交
e47043ebd7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      qubes/vm/qubesvm.py

+ 1 - 0
qubes/vm/qubesvm.py

@@ -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)