[KVM-AUTOTEST PATCH] Fixing small mistake introduced by changeset:3528

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When working on changeset:3528, made a mistake on one destination path.
Fixing it.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx>

Index: trunk/client/tests/kvm/kvm_preprocessing.py
===================================================================
--- trunk/client/tests/kvm/kvm_preprocessing.py	(revision 3536)
+++ trunk/client/tests/kvm/kvm_preprocessing.py	(working copy)
@@ -292,8 +292,9 @@
                       " files to PNG format...")
         try:
             for f in glob.glob(os.path.join(test.debugdir, "*.ppm")):
+                new_path = f.replace(".ppm", ".png")
                 image = PIL.Image.open(f)
-                image.save(history_scrdump_filename, format = 'PNG')
+                image.save(new_path, format = 'PNG')
         except NameError:
             pass
 


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux