virt-clone: fix pylint error

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2015-11-03 11:48:26 +01:00
parent a8110c6cd7
commit 627abed9c1

View File

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