VirtualMailManager/mailbox.py
branchv0.6.x
changeset 377 920cb090eb09
parent 366 d6573da35b5f
child 386 b7854259ad74
--- a/VirtualMailManager/mailbox.py	Thu Jan 20 00:41:09 2011 +0000
+++ b/VirtualMailManager/mailbox.py	Fri Jan 28 11:03:11 2011 +0000
@@ -251,7 +251,8 @@
         process = Popen(cmd_args, stdout=PIPE, stderr=PIPE)
         stdout, stderr = process.communicate()
         if process.returncode:
-            raise VMMError(stderr.strip(), VMM_ERROR)
+            e_msg = _(u'Failed to create mailboxes: %r\n') % mailboxes
+            raise VMMError(e_msg + stderr.strip(), VMM_ERROR)
 
     def create(self):
         """Create a dbox INBOX"""