VMM/mailbox: s/dovecotpw/doveadm/g v0.7.x
authorPascal Volk <user@localhost.localdomain.org>
Wed, 12 Feb 2014 21:28:02 +0000
branchv0.7.x
changeset 721 2f25d1cf8502
parent 720 d1b32cdf8dda
child 722 e37f60b0e3b5
VMM/mailbox: s/dovecotpw/doveadm/g PEP8 Fix: E127 in SingleDbox.__init__()
VirtualMailManager/mailbox.py
--- a/VirtualMailManager/mailbox.py	Tue Feb 11 23:03:58 2014 +0000
+++ b/VirtualMailManager/mailbox.py	Wed Feb 12 21:28:02 2014 +0000
@@ -244,12 +244,12 @@
         For additional mailboxes use the add_boxes() method.
         """
         assert cfg_dget('misc.dovecot_version') >= \
-                account.mail_location.dovecot_version
+            account.mail_location.dovecot_version
         super(SingleDbox, self).__init__(account)
 
     def _doveadm_create(self, mailboxes, subscribe):
         """Wrap around Dovecot's doveadm"""
-        cmd_args = [cfg_dget('bin.dovecotpw'), 'mailbox', 'create', '-u',
+        cmd_args = [cfg_dget('bin.doveadm'), 'mailbox', 'create', '-u',
                     str(self._user.address)]
         if subscribe:
             cmd_args.append('-s')