[Mpuls-commits] r776 - in wasko/branches/2.0: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 19 21:16:37 CET 2010


Author: bh
Date: 2010-01-19 21:16:37 +0100 (Tue, 19 Jan 2010)
New Revision: 776

Modified:
   wasko/branches/2.0/ChangeLog.txt
   wasko/branches/2.0/waskaweb/lib/helpers.py
Log:
* waskaweb/lib/helpers.py (safe_unicode): Removed. Unused.


Modified: wasko/branches/2.0/ChangeLog.txt
===================================================================
--- wasko/branches/2.0/ChangeLog.txt	2010-01-19 20:14:14 UTC (rev 775)
+++ wasko/branches/2.0/ChangeLog.txt	2010-01-19 20:16:37 UTC (rev 776)
@@ -1,5 +1,9 @@
 2010-01-19  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/lib/helpers.py (safe_unicode): Removed. Unused.
+
+2010-01-19  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/lib/helpers.py (dd_mm_YYYY, HH_MM, dd_mm_yyyy_HH_MM):
 	Improve doc-strings and comments.  Implement dd_mm_yyyy_HH_MM in
 	terms of the other two.

Modified: wasko/branches/2.0/waskaweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-19 20:14:14 UTC (rev 775)
+++ wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-19 20:16:37 UTC (rev 776)
@@ -355,10 +355,7 @@
             log.error("Could not fetch KA-name from client certificate")
     return kaname 
 
-def safe_unicode(s):
-    return u''.join([c for c in s if ord(c) > 127 or c in PRINTABLE])
 
-
 # Phases helpers. Used in evaluation
 def get_phasesuccessors(p):
     #p = int(p)



More information about the Mpuls-commits mailing list