[cpif] r333 - trunk/backend
svn at argo.es
svn at argo.es
Thu Sep 6 18:14:31 CEST 2007
Author: jcea
Date: Thu Sep 6 18:14:29 2007
New Revision: 333
Log:
Preparandonos para los iconos en el 'skin'
Modified:
trunk/backend/database.py
trunk/backend/upgrade.py
Modified: trunk/backend/database.py
==============================================================================
--- trunk/backend/database.py (original)
+++ trunk/backend/database.py Thu Sep 6 18:14:29 2007
@@ -1,7 +1,7 @@
# $Id$
-VERSION_DB="2007090602"
+VERSION_DB="2007090603"
import globales
@@ -65,6 +65,7 @@
root["static"]["smileys"]=BTree()
root["static"]["css"]=BTree()
root["static"]["js"]=BTree()
+ root["static"]["icons"]=BTree()
root["smileys"]=PersistentList()
conf=PersistentDict()
Modified: trunk/backend/upgrade.py
==============================================================================
--- trunk/backend/upgrade.py (original)
+++ trunk/backend/upgrade.py Thu Sep 6 18:14:29 2007
@@ -305,3 +305,9 @@
metatag["sticky_threads"]=set()
conn.commit()
+ if root["version del foro"]=="2007090602" :
+ print "Actualizando la base de datos: 2007090602 -> 2007090603"
+ root["version del foro"]="2007090603"
+ root["static"]["icons"]=BTree()
+ conn.commit()
+
More information about the cpif
mailing list