[Mpuls-commits] r1773 - wasko/branches/2.0/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 25 14:14:39 CET 2010
Author: torsten
Date: 2010-02-25 14:14:39 +0100 (Thu, 25 Feb 2010)
New Revision: 1773
Added:
wasko/branches/2.0/mpulsweb/lib/anonymize.py
Log:
* mpulsweb/lib/anonymize.py: New. Lib to handle anonymization of
cases. Will do checks and modification on the case to enable
anonyization e.g anonyize case in a consistent state.
Added: wasko/branches/2.0/mpulsweb/lib/anonymize.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/anonymize.py 2010-02-25 11:42:57 UTC (rev 1772)
+++ wasko/branches/2.0/mpulsweb/lib/anonymize.py 2010-02-25 13:14:39 UTC (rev 1773)
@@ -0,0 +1,13 @@
+# -*- coding: utf-8 -*-
+
+class AnonymizeCheckException(Exception):
+ def __init__(self, value):
+ self.value = value
+
+def check_state(case):
+ raise AnonymizeCheckException('Das ist ein Test')
+
+def anonymize(case):
+ pass
+
+# vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:
More information about the Mpuls-commits
mailing list