This small change is required because of the change in "Import: disk 
conversion" patch

Signed-off-by: Agata Murawska <[email protected]>
---
 lib/ovf.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ovf.py b/lib/ovf.py
index f1a49c8..fdadc86 100644
--- a/lib/ovf.py
+++ b/lib/ovf.py
@@ -1373,7 +1373,7 @@ class OVFExporter(Converter):
     if compression:
       skip_removing = disk_path == new_disk_path
       # we do not want to delete the original disk
-      new_disk_path = self._CompressDisk(new_disk_path, "gzip", "compress",
+      new_disk_path = self._CompressDisk(new_disk_path, "gzip", COMPRESS,
         skip_removing=skip_removing)
       new_disk_name = "%s%s" % (new_disk_name, COMPRESSION_EXT)
       results["compression"] = "gzip"
-- 
1.7.3.1

Reply via email to