[Mpuls-commits] r2259 - in wasko/branches/2.0: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 29 20:47:04 CEST 2010
Author: bh
Date: 2010-03-29 20:47:01 +0200 (Mon, 29 Mar 2010)
New Revision: 2259
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/anonymize.py
Log:
* mpulsweb/lib/anonymize.py: Fix formatting.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-03-29 18:45:35 UTC (rev 2258)
+++ wasko/branches/2.0/ChangeLog 2010-03-29 18:47:01 UTC (rev 2259)
@@ -1,5 +1,9 @@
2010-03-29 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/lib/anonymize.py: Fix formatting.
+
+2010-03-29 Bernhard Herzog <bh at intevation.de>
+
* jmdweb/model/case.py: Fix formatting.
2010-03-29 Bernhard Herzog <bh at intevation.de>
Modified: wasko/branches/2.0/mpulsweb/lib/anonymize.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/anonymize.py 2010-03-29 18:45:35 UTC (rev 2258)
+++ wasko/branches/2.0/mpulsweb/lib/anonymize.py 2010-03-29 18:47:01 UTC (rev 2259)
@@ -13,12 +13,12 @@
# Phase usually start which id 0. Each phase as start and end. End phase
# will be used on anonymization.
- if current_phase%2:
+ if current_phase % 2:
end_phase = current_phase
elif current_phase == 0:
end_phase = 1
else:
- end_phase = current_phase+1
+ end_phase = current_phase + 1
log.debug("endphase: %s" % end_phase)
for phase, pairs in g.mpuls_config.get('phases', 'pairs')[0].iteritems():
More information about the Mpuls-commits
mailing list