--- a/VirtualMailManager/mailbox.py Sat Mar 05 22:46:17 2011 +0000
+++ b/VirtualMailManager/mailbox.py Thu Mar 10 19:34:28 2011 +0000
@@ -254,8 +254,8 @@
if subscribe:
cmd_args.append('-s')
cmd_args.extend(mailboxes)
- process = Popen(cmd_args, stdout=PIPE, stderr=PIPE)
- stdout, stderr = process.communicate()
+ process = Popen(cmd_args, stderr=PIPE)
+ stderr = process.communicate()[1]
if process.returncode:
e_msg = _(u'Failed to create mailboxes: %r\n') % mailboxes
raise VMMError(e_msg + stderr.strip(), VMM_ERROR)