VMM/mailbox: Added missing dummy translator (_) and comment for
method Mailbox._add_boxes.
--- a/VirtualMailManager/mailbox.py Mon Feb 07 21:28:33 2011 +0000
+++ b/VirtualMailManager/mailbox.py Mon Feb 07 21:50:44 2011 +0000
@@ -23,6 +23,7 @@
__all__ = ('new', 'Maildir', 'SingleDbox', 'MultiDbox',
'utf8_to_mutf7', 'mutf7_to_utf8')
+_ = lambda msg: msg
cfg_dget = lambda option: None
@@ -102,6 +103,9 @@
os.chdir(self._user.home)
def _add_boxes(self, mailboxes, subscribe):
+ """Create all mailboxes from the `mailboxes` list.
+ If `subscribe` is *True*, the mailboxes will be listed in the
+ subscriptions file."""
raise NotImplementedError
def _validate_box_name(self, name, good, bad):
@@ -285,4 +289,4 @@
return SingleDbox(account)
raise ValueError('unsupported mailbox format: %r' % mbfmt)
-del cfg_dget
+del _, cfg_dget