]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/misentregas/templates/diff.kid
Poner nombre más lindo al thread finalizador :)
[software/sercom.git] / sercom / subcontrollers / misentregas / templates / diff.kid
index e007b10ee5a15008374132d2c3c045954cddd29a..8a72d372b411f03d60373747ab95217ca71a807d 100644 (file)
 <h1>Diferencias</h1>
 
 
-<?python i = 0 ?>
 <div py:for="info in zip.infolist()">
+       <?python
+       n, ext = os.path.splitext(info.filename)
+       if ext != ".diff":
+               continue
+       ?>
        <h3>${info.filename}</h3>
-               <?python n, ext = os.path.splitext(info.filename) ?>
-               <textarea name="code" class="${ext[1:]}:collapse">${zip.read(info.filename)}</textarea>
-       <?python i += 1 ?>
+       <textarea name="code" class="${ext[1:]}:collapse">${zip.read(info.filename)}</textarea>
 </div>
 
 <br/>