[cpif] r352 - trunk/backend

svn at argo.es svn at argo.es
Mon Sep 10 19:25:58 CEST 2007


Author: jcea
Date: Mon Sep 10 19:25:58 2007
New Revision: 352

Log:
Mas soporte de hilos 'sticky'

Modified:
   trunk/backend/database.py

Modified: trunk/backend/database.py
==============================================================================
--- trunk/backend/database.py	(original)
+++ trunk/backend/database.py	Mon Sep 10 19:25:58 2007
@@ -506,7 +506,7 @@
   resultado=[]
 
   metatag=root["metatags"]["metatags"][metatag]
-  stickies=metatag["sticky"]
+  stickies=metatag["sticky_threads"]
   r=[(hilo2last_msg[hilo_num],hilo_num) for hilo_num in stickies]
   r.sort()
   r.reversed()
@@ -528,7 +528,7 @@
   resultado=[]
 
   metatag=root["metatags"]["metatags"][metatag]
-  stickies=metatag["sticky"]
+  stickies=metatag["sticky_threads"]
   for ts,hilo in metatag["TS2hilo"].items_range(ts,ts2) :
     hilo_num,hilo=hilo
     if hilo_num in stickies : continue



More information about the cpif mailing list