VirtualMailManager/AliasDomain.py
branchv0.6.x
changeset 199 0684790fff7c
parent 185 6e1ef32fbd82
child 216 0c8c053b451c
--- a/VirtualMailManager/AliasDomain.py	Wed Feb 10 08:55:51 2010 +0000
+++ b/VirtualMailManager/AliasDomain.py	Thu Feb 11 03:08:11 2010 +0000
@@ -5,7 +5,7 @@
 """Virtual Mail Manager's AliasDomain class to manage alias domains."""
 
 import VirtualMailManager.constants.ERROR as ERR
-from VirtualMailManager import chk_domainname
+from VirtualMailManager import check_domainname
 from VirtualMailManager.Exceptions import VMMAliasDomainException as VADE
 
 class AliasDomain(object):
@@ -13,7 +13,7 @@
     __slots__ = ('__gid', '__name', '_domain', '_dbh')
     def __init__(self, dbh, domainname, targetDomain=None):
         self._dbh = dbh
-        self.__name = chk_domainname(domainname)
+        self.__name = check_domainname(domainname)
         self.__gid = 0
         self._domain = targetDomain
         self._exists()