Getting exception since update from 6.5.1.2 to 6.5.2

Sebastian Spaeth Sebastian at SSpaeth.de
Thu Jan 19 08:56:55 GMT 2012


On Wed, 18 Jan 2012 23:45:35 +0100, Andreas Herz <andi at geekosphere.org> wrote:
> I just updated offlineimap to 6.5.2 with the gentoo ebuild and now i get
> this exception with my account:
>   File "/usr/lib64/python2.7/site-packages/offlineimap/ui/TTY.py", line 101, in sleeping
>     time.sleep(sleepsecs)
> NameError: global name 'time' is not defined

Aye, small oversight in fixing the "Basic UI is too noisy" issue that I
thought was pretty safe...

The fix is simply to add an "import time" to ui/TTY.ui:
https://github.com/spaetz/offlineimap/commit/075c1d2cdc0a8e25f8cb60583cabd2ffa1db1d13

It went into "next" and was cherry-picked as a hotfix to "master" too,
so it will be fixed in the next release. Thanks for reporting.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20120119/2d111982/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list