VMM:/handler: Fixed typo introduced with the previous commit. v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Wed, 02 Feb 2011 21:09:50 +0000
branchv0.6.x
changeset 381 98223e5c95e0
parent 380 5aaf2dd6b146
child 382 5e6bcb2e010e
VMM:/handler: Fixed typo introduced with the previous commit.
VirtualMailManager/handler.py
--- a/VirtualMailManager/handler.py	Wed Feb 02 20:45:40 2011 +0000
+++ b/VirtualMailManager/handler.py	Wed Feb 02 21:09:50 2011 +0000
@@ -295,7 +295,7 @@
                            NO_SUCH_DIRECTORY)
         if os.path.exists(domain.directory):
             raise VMMError(_(u"The file/directory '%s' already exists.") %
-                           domdir.directory, VMM_ERROR)
+                           domain.directory, VMM_ERROR)
         os.mkdir(os.path.join(hashdir, domdir),
                  self._cfg.dget('domain.directory_mode'))
         os.chown(domain.directory, 0, domain.gid)