VirtualMailManager/AliasDomain.py
changeset 122 30abf0abf8f8
parent 102 485d3f7d6981
child 133 2d5c4745efec
--- a/VirtualMailManager/AliasDomain.py	Thu Aug 20 03:28:26 2009 +0000
+++ b/VirtualMailManager/AliasDomain.py	Thu Aug 20 06:12:33 2009 +0000
@@ -10,8 +10,9 @@
 import constants.ERROR as ERR
 import VirtualMailManager as VMM
 
-class AliasDomain:
+class AliasDomain(object):
     """Class to manage e-mail alias domains."""
+    __slots__ = ('__gid', '__name', '_domain', '_dbh')
     def __init__(self, dbh, domainname, targetDomain=None):
         self._dbh = dbh
         self.__name = VMM.VirtualMailManager.chkDomainname(domainname)