VirtualMailManager/Account.py
branchv0.6.x
changeset 236 084331dd1e4c
parent 235 9d3405ed08e5
child 245 f9a6b6701cf9
--- a/VirtualMailManager/Account.py	Sat Apr 03 02:14:13 2010 +0000
+++ b/VirtualMailManager/Account.py	Sun Apr 04 08:16:46 2010 +0000
@@ -61,12 +61,12 @@
 
     def _setAddr(self):
         dom = Domain(self._dbh, self._addr.domainname)
-        self._gid = dom.getID()
+        self._gid = dom.gid
         if self._gid == 0:
             raise AccE(_(u"The domain ā€œ%sā€ doesn't exist.") %
                        self._addr.domainname, ERR.NO_SUCH_DOMAIN)
-        self._base = dom.getDir()
-        self._tid = dom.getTransportID()
+        self._base = dom.directory
+        self._tid = dom.transport.tid
 
     def _setID(self):
         dbc = self._dbh.cursor()