[PATCH] offlineimap.py: fix version number

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Dec 13 19:32:49 GMT 2010


On Mon, 13 Dec 2010 12:49:45 -0600, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote:
> If we want to do away with that version check, I wouldn't mind.

May I use the opportunity to plug these 2 patches of mine against current master
that do away with the said version check? Admittedly, they only do so as
a side effect. THe main purpose of this patch is to move the command
line option handling from the more manual "options" module to the full
fledged "OptionParser". It has the advantage of e.g. automatically
creating the Help text that is shown with the "-h/--help" option rather
than having to hardcode the text (admittedly in a beautifully manually
justified manner :-)).

1st patch is a reworked version of a patch that you have already
reviewed. THe second patch converts us to use OptionParser and does away
with the version check at the same time. I am running this for quite
some time now and haven't observed regressions.

Sebastian




More information about the OfflineIMAP-project mailing list