VMM/handler: _make_home() Create the domain directory if it
doesn't exist for some reason.
--- a/VirtualMailManager/handler.py Fri Jul 30 09:37:44 2010 +0000
+++ b/VirtualMailManager/handler.py Fri Jul 30 09:45:51 2010 +0000
@@ -264,8 +264,7 @@
"""Create a home directory for the new Account *account*."""
domdir = account.domain.directory
if not lisdir(domdir):
- raise VMMError(_(u"No such directory: %s") % domdir,
- NO_SUCH_DIRECTORY)
+ self._make_domain_dir(account.domain)
os.umask(0007)
uid = account.uid
os.chdir(domdir)