equal
deleted
inserted
replaced
247 cmd_args = [cfg_dget('bin.dovecotpw'), 'mailbox', 'create', '-u', |
247 cmd_args = [cfg_dget('bin.dovecotpw'), 'mailbox', 'create', '-u', |
248 str(self._user.address)] |
248 str(self._user.address)] |
249 if subscribe: |
249 if subscribe: |
250 cmd_args.append('-s') |
250 cmd_args.append('-s') |
251 cmd_args.extend(mailboxes) |
251 cmd_args.extend(mailboxes) |
252 print '\n -> %r\n' % cmd_args |
|
253 process = Popen(cmd_args, stdout=PIPE, stderr=PIPE) |
252 process = Popen(cmd_args, stdout=PIPE, stderr=PIPE) |
254 stdout, stderr = process.communicate() |
253 stdout, stderr = process.communicate() |
255 if process.returncode: |
254 if process.returncode: |
256 raise VMMError(stderr.strip(), VMM_ERROR) |
255 raise VMMError(stderr.strip(), VMM_ERROR) |
257 |
256 |