[virt-tools-list] [virt-manager PATCH 1/2] virt-clone: fix pylint error

Pavel Hrdina phrdina at redhat.com
Tue Nov 3 10:57:01 UTC 2015


Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 virtinst/cloner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/cloner.py b/virtinst/cloner.py
index 468e559..764388a 100644
--- a/virtinst/cloner.py
+++ b/virtinst/cloner.py
@@ -418,7 +418,7 @@ class Cloner(object):
         # new guest name
         for channel in self._guest.get_devices("channel"):
             if channel.type == VirtualChannelDevice.TYPE_UNIX:
-                channel._source_path = None
+                channel.source_path = None
 
         # Save altered clone xml
         self._clone_xml = self._guest.get_xml_config()
-- 
2.6.2




More information about the virt-tools-list mailing list