VirtualMailManager/handler.py
branchv0.6.x
changeset 381 98223e5c95e0
parent 380 5aaf2dd6b146
child 390 660b42391c8e
--- 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)