--- a/VirtualMailManager/handler.py Thu Jul 29 23:09:44 2010 +0000
+++ b/VirtualMailManager/handler.py Fri Jul 30 09:37:44 2010 +0000
@@ -262,7 +262,7 @@
def _make_home(self, account):
"""Create a home directory for the new Account *account*."""
- domdir = account.domain_directory
+ domdir = account.domain.directory
if not lisdir(domdir):
raise VMMError(_(u"No such directory: %s") % domdir,
NO_SUCH_DIRECTORY)
@@ -279,7 +279,7 @@
`domdir` : basestring
The directory of the domain the user belongs to
- (commonly AccountObj.domain_directory)
+ (commonly AccountObj.domain.directory)
`uid` : int/long
The user's UID (commonly AccountObj.uid)
`gid` : int/long
@@ -542,7 +542,7 @@
acc.address, NO_SUCH_ACCOUNT)
uid = acc.uid
gid = acc.gid
- dom_dir = acc.domain_directory
+ dom_dir = acc.domain.directory
acc_dir = acc.home
acc.delete(bool(force))
if self._cfg.dget('account.delete_directory'):