[cpif] r243 - trunk/frontend-web
svn at argo.es
svn at argo.es
Wed Jul 4 14:32:21 CEST 2007
Author: jcea
Date: Wed Jul 4 14:32:20 2007
New Revision: 243
Log:
Evitamos deadlock
Modified:
trunk/frontend-web/url_nuevo_hilo_POST.py
trunk/frontend-web/url_nuevo_post_POST.py
Modified: trunk/frontend-web/url_nuevo_hilo_POST.py
==============================================================================
--- trunk/frontend-web/url_nuevo_hilo_POST.py (original)
+++ trunk/frontend-web/url_nuevo_hilo_POST.py Wed Jul 4 14:32:20 2007
@@ -2,6 +2,8 @@
from globales import monitor
+import parsers # Doing here outside to avoid "monitor" deadlocks
+
def pagina_error(texto) :
import skins
pagina = skins.Skin(path,usuario)
@@ -34,7 +36,6 @@
titulo=cgi.escape(titulo)
- import parsers
error,texto2=parsers.convert_to_html(texto)
if error :
return (200,{"Content-Type":"text/plain; charset=utf-8"},error)
Modified: trunk/frontend-web/url_nuevo_post_POST.py
==============================================================================
--- trunk/frontend-web/url_nuevo_post_POST.py (original)
+++ trunk/frontend-web/url_nuevo_post_POST.py Wed Jul 4 14:32:20 2007
@@ -2,6 +2,8 @@
from globales import monitor
+import parsers # Doing here outside to avoid "monitor" deadlocks
+
def pagina_error(texto) :
import skins
pagina = skins.Skin(path,usuario)
@@ -32,7 +34,6 @@
if not texto : # Incluye tanto el caso de vacio como de inexistente
return pagina_error("El Texto no puede estar vacio")
- import parsers
error,texto2=parsers.convert_to_html(texto)
if error :
return (200,{"Content-Type":"text/plain; charset=utf-8"},error)
More information about the cpif
mailing list