summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-12-04 18:46:58 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-12-04 18:46:58 +0000
commita6a58cb40175115da485afc5a605928d01403eac (patch)
tree7fd53e0a4e147b3f72b1ae1e66d3a6630de4072b
parent0bb882ad21c9521e3489ecd5bef42d3b47c74c9e (diff)
downloadpykolab-a6a58cb40175115da485afc5a605928d01403eac.tar.gz
Translate a 'ó' into a 'o'.
-rw-r--r--pykolab/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/utils.py b/pykolab/utils.py
index 079a48c..09a32fa 100644
--- a/pykolab/utils.py
+++ b/pykolab/utils.py
@@ -208,8 +208,8 @@ def standard_root_dn(domain):
return 'dc=%s' %(',dc='.join(domain.split('.')))
def translate(mystring):
- chars = ['Ä', 'Ü', 'Ö', 'ä', 'ü', 'ö', 'ß']
- simple = ['Ae', 'Ue', 'Oe', 'ae', 'ue', 'oe', 'ss']
+ chars = ['Ä', 'Ü', 'Ö', 'ä', 'ü', 'ö', 'ß', 'ó']
+ simple = ['Ae', 'Ue', 'Oe', 'ae', 'ue', 'oe', 'ss', 'o']
for num in range(0, len(chars)):
mystring = mystring.replace(chars[num], simple[num])