# HG changeset patch
# User Pascal Volk <neverseen@users.sourceforge.net>
# Date 1297115444 0
# Node ID b7854259ad74fadf487ce39f369f794dd3b67d1b
# Parent  0cae9989395ba3859b0e42defed30e1120358f90
VMM/mailbox: Added missing dummy translator (_) and comment for
method Mailbox._add_boxes.

diff -r 0cae9989395b -r b7854259ad74 VirtualMailManager/mailbox.py
--- 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