[PATCHv2] Re: Convert to use OptionParser for command line handling.

Leif Walsh leif.walsh at gmail.com
Wed Dec 15 02:43:35 GMT 2010


A quick thing: I would feel a lot more comfortable if offlineimap (the
class) didn't parse the command line in its constructor. Instead, it should
have an interface that accepts the options, or a command line string, or
simply does nothing and requires you to call offlineimap.parse_commandline()
after the object is constructed. This would make the object more useful in
other contexts than as a glorified main(); I generally am put off by "magic"
constructors.
On Dec 14, 2010 9:31 PM, "Sebastian Spaeth" <Sebastian at sspaeth.de> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20101214/8fe4796d/attachment-0001.html>


More information about the OfflineIMAP-project mailing list