Skip to contentSkip to conversation

Fixing small mistake introduced by changeset:3528

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Aug 13, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixing small mistake introduced by changeset:3528

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

client/tests/kvm/kvm_preprocessing.py +2 -1
Index: trunk/client/tests/kvm/kvm_preprocessing.py
===================================================================
@@ -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