<p>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.</p>

<div class="gmail_quote">On Dec 14, 2010 9:31 PM, "Sebastian Spaeth" <<a href="mailto:Sebastian@sspaeth.de">Sebastian@sspaeth.de</a>> wrote:<br type="attribution"></div>