[Mpuls-commits] r957 - in wasko/branches/2.0: . waskaweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jan 27 17:00:27 CET 2010
Author: bh
Date: 2010-01-27 17:00:26 +0100 (Wed, 27 Jan 2010)
New Revision: 957
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (log): Add logger.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-01-27 15:37:31 UTC (rev 956)
+++ wasko/branches/2.0/ChangeLog 2010-01-27 16:00:26 UTC (rev 957)
@@ -1,5 +1,9 @@
2010-01-27 Bernhard Herzog <bh at intevation.de>
+ * waskaweb/model/case.py (log): Add logger.
+
+2010-01-27 Bernhard Herzog <bh at intevation.de>
+
* waskaweb/model/case.py (CaseStatementField): Removed. Not used
anymore.
Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py 2010-01-27 15:37:31 UTC (rev 956)
+++ wasko/branches/2.0/waskaweb/model/case.py 2010-01-27 16:00:26 UTC (rev 957)
@@ -34,6 +34,7 @@
import cStringIO as StringIO
from locale import strcoll
from sets import Set
+import logging
import psycopg2.extras
@@ -63,6 +64,9 @@
from waskaweb.controllers.formularpage import convert2dic
+log = logging.getLogger(__name__)
+
+
def get_field_identifier(id, name, it=None, idx=0):
"""Will return the identifier of a field. If the field in in a rg the
identifier of the first occourance will be returned on default."""
More information about the Mpuls-commits
mailing list