Getting exception since update from to 6.5.2

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

On Wed, 18 Jan 2012 23:45:35 +0100, Andreas Herz <andi at> 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/", 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:

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the OfflineIMAP-project mailing list