]> git.llucax.com Git - z.facultad/75.52/sercom.git/commitdiff
Usar extensión .html simple para diff en HTML.
authorLeandro Lucarella <llucax@gmail.com>
Fri, 16 Mar 2007 18:32:24 +0000 (18:32 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Fri, 16 Mar 2007 18:32:24 +0000 (18:32 +0000)
sercom/tester.py

index 4f381f13f1336aaca30ea95a20eaa96cf97bbf80..88dbe87adff2ba44aa7fe0ce24d6d2941c9e6346 100644 (file)
@@ -456,7 +456,7 @@ def ejecutar_comando_fuente(self, path, entrega): #{{{
                 fromdesc=name+'.'+origname, todesc=name+'.'+newname,
                 context=True, numlines=3)
             zip_out.writestr(name + '.diff', udiff)
-            zip_out.writestr(name + '.diff.html', htmldiff)
+            zip_out.writestr(name + '.diff', htmldiff)
             return True
         else:
             return False
@@ -667,7 +667,7 @@ def ejecutar_comando_prueba(self, path, prueba): #{{{
                 fromdesc=name+'.'+origname, todesc=name+'.'+newname,
                 context=True, numlines=3)
             zip_out.writestr(name + '.diff', udiff)
-            zip_out.writestr(name + '.diff.html', htmldiff)
+            zip_out.writestr(name + '.html', htmldiff)
             return True
         else:
             return False