VirtualMailManager/handler.py
branchv0.6.x
changeset 447 c31d604e26d3
parent 444 95275b61ff8a
child 458 4ff0fa3ba0fa
--- a/VirtualMailManager/handler.py	Thu Nov 03 05:32:47 2011 +0000
+++ b/VirtualMailManager/handler.py	Fri Nov 04 02:20:01 2011 +0000
@@ -511,9 +511,9 @@
                            INVALID_ARGUMENT)
         dom = self._get_domain(domainname)
         dominfo = dom.get_info()
-        if dominfo['domainname'].startswith('xn--'):
-            dominfo['domainname'] += ' (%s)' % \
-                                     dominfo['domainname'].decode('idna')
+        if dominfo['domain name'].startswith('xn--'):
+            dominfo['domain name'] += ' (%s)' % \
+                                      dominfo['domain name'].decode('idna')
         if details is None:
             return dominfo
         elif details == 'accounts':