[Mpuls-commits] r2736 - in base/trunk: . mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue May 25 15:31:01 CEST 2010
Author: bh
Date: 2010-05-25 15:31:00 +0200 (Tue, 25 May 2010)
New Revision: 2736
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/model/user.py
Log:
* mpulsweb/model/user.py (log): Add logger.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-05-25 13:27:42 UTC (rev 2735)
+++ base/trunk/ChangeLog 2010-05-25 13:31:00 UTC (rev 2736)
@@ -1,5 +1,9 @@
2010-05-25 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/model/user.py (log): Add logger.
+
+2010-05-25 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/templates/documents/case_overview.mako,
mpulsweb/templates/documents/global_overview.mako: Avoid
unnecessary html-escaping.
Modified: base/trunk/mpulsweb/model/user.py
===================================================================
--- base/trunk/mpulsweb/model/user.py 2010-05-25 13:27:42 UTC (rev 2735)
+++ base/trunk/mpulsweb/model/user.py 2010-05-25 13:31:00 UTC (rev 2736)
@@ -24,6 +24,7 @@
import sys
import datetime
+import logging
from pylons import session
@@ -32,6 +33,9 @@
from mpulsweb.lib.db import db
+log = logging.getLogger(__name__)
+
+
MARK_NEWS_AS_READ_SQL = """SELECT markNewsAsRead(%(user_id)s, %(news_id)s)"""
FETCH_USER_LIST_SQL = """\
SELECT id, vorname, nachname, rolle, login, gid
More information about the Mpuls-commits
mailing list