[cpif] r123 - trunk/frontend-web

svn at argo.es svn at argo.es
Wed Jun 6 13:37:47 CEST 2007


Author: jcea
Date: Wed Jun  6 13:37:43 2007
New Revision: 123

Log:
Bugfix: Interaccion entre la cache de calendario
y los metatags.



Modified:
   trunk/frontend-web/calendario.py

Modified: trunk/frontend-web/calendario.py
==============================================================================
--- trunk/frontend-web/calendario.py	(original)
+++ trunk/frontend-web/calendario.py	Wed Jun  6 13:37:43 2007
@@ -18,13 +18,13 @@
       semana=mes.pop(0)
       for i in xrange(7) :
         dia=semana.pop(0)
-        texto.append("<td align=center><a href='/indice/%d/%d%.2d%.2d'>%s</a></td>"
-                       %(metatag,dia.year,dia.month,dia.day,dia.day))
+        texto.append("<td align=center><a href='/indice/%%(metatag)d/%d%.2d%.2d'>%s</a></td>"
+                       %(dia.year,dia.month,dia.day,dia.day))
       texto.append("</tr>")
     texto.append("</table>")
     mes="".join(texto)
     cache_meses[fecha]=mes
-  return mes %{"usuario":usuario}
+  return mes %{"metatag":metatag}
 
 def daydate(ts,tz) :
   import datetime



More information about the cpif mailing list