mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
distroinstaller: Fix volume upload with latest libvirt bindings (bz 1058720)
This commit is contained in:
@@ -130,7 +130,7 @@ def _upload_file(conn, meter, destpool, src):
|
||||
offset = 0
|
||||
length = size
|
||||
flags = 0
|
||||
stream.upload(vol, offset, length, flags)
|
||||
vol.upload(stream, offset, length, flags)
|
||||
|
||||
# Open source file
|
||||
fileobj = file(src, "r")
|
||||
|
||||
Reference in New Issue
Block a user