branch | v0.6.x |
changeset 330 | 3fe8d6cdbe3a |
parent 329 | 41789df75339 |
child 331 | 270b57af85de |
--- 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)