[Mpuls-commits] r2246 - in wasko/branches/2.0: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 29 18:05:38 CEST 2010
Author: bh
Date: 2010-03-29 18:05:38 +0200 (Mon, 29 Mar 2010)
New Revision: 2246
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py: Fix formatting.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-03-29 16:03:46 UTC (rev 2245)
+++ wasko/branches/2.0/ChangeLog 2010-03-29 16:05:38 UTC (rev 2246)
@@ -1,5 +1,9 @@
2010-03-29 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/lib/config.py: Fix formatting.
+
+2010-03-29 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/lib/db.py: Remove unused imports.
2010-03-29 Bernhard Herzog <bh at intevation.de>
Modified: wasko/branches/2.0/mpulsweb/lib/config.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/config.py 2010-03-29 16:03:46 UTC (rev 2245)
+++ wasko/branches/2.0/mpulsweb/lib/config.py 2010-03-29 16:05:38 UTC (rev 2246)
@@ -197,14 +197,14 @@
pairs =[]
set('phases', 'pairs', pairs)
- # Not anonymizable phaseparts
+ # Not anonymizable phaseparts
set('phases', 'notanonymizable', [])
-
- # Fields (per pair)
+
+ # Fields (per pair)
fields = [{}]
set('phases', 'fields', fields)
- # Dates (per pair)
+ # Dates (per pair)
dates = [{}]
set('phases', 'dates', dates)
@@ -219,7 +219,7 @@
active = []
set('phases', 'active', active)
- # Which phases are considered as finished
+ # Which phases are considered as finished
finished = []
set('phases', 'finished', finished)
@@ -228,34 +228,34 @@
# Admin defaults:
search_admin_default = [
{
- 'own': '0',
- 'standin': '0',
- 'editor': '-1',
- 'search_str': '',
- 'state': ['3', '4'],
- 'phase': ['-1'],
- 'sdate': '',
+ 'own': '0',
+ 'standin': '0',
+ 'editor': '-1',
+ 'search_str': '',
+ 'state': ['3', '4'],
+ 'phase': ['-1'],
+ 'sdate': '',
'edate': ''
- }
- ]
+ }
+ ]
set('search', 'admin_defaults', search_admin_default)
# CM defaults:
search_cm_default = [
{
- 'own': '1',
- 'standin': '0',
- 'editor': '-1',
- 'search_str': '',
- 'state': ['1'],
- 'phase': ['-1'],
- 'sdate': '',
+ 'own': '1',
+ 'standin': '0',
+ 'editor': '-1',
+ 'search_str': '',
+ 'state': ['1'],
+ 'phase': ['-1'],
+ 'sdate': '',
'edate': ''
- }
- ]
+ }
+ ]
set('search', 'cm_defaults', search_cm_default)
- set('search', 'default-start-date', datetime.date(2009,9,1))
- set('search', 'default-end-date', datetime.date(2009,12,31))
+ set('search', 'default-start-date', datetime.date(2009, 9, 1))
+ set('search', 'default-end-date', datetime.date(2009, 12, 31))
# LOGBOOK
# -------
@@ -266,7 +266,8 @@
# EVALUATIONS
# ------------
#
- # Note the the evaluation with id 0 is considered to be the Adele-evaluation
+ # Note the the evaluation with id 0 is considered to be the
+ # Adele-evaluation
dummy = {'name': 'Vorgabe', 'id': '99', 'config': 'eval_default.xml'}
enabled_evaluations = [dummy]
set('evaluations', 'enabled', enabled_evaluations)
More information about the Mpuls-commits
mailing list