TTYUI: Fix missing "time" import
commit f2a94af5
introduced the use of time.sleep in ui/TTY.py without
importing it. This caused a regression in 6.5.2, crashing OfflineIMap
when in refresh mode.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
344b2f0b7a
commit
48802ae4b6
@ -22,3 +22,4 @@ Bug Fixes
|
|||||||
---------
|
---------
|
||||||
|
|
||||||
* Fix python2.6 compatibility with the TTYUI backend (crash)
|
* Fix python2.6 compatibility with the TTYUI backend (crash)
|
||||||
|
* Fix TTYUI regression from 6.5.2 in refresh loop (crash)
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
import time
|
||||||
from getpass import getpass
|
from getpass import getpass
|
||||||
from offlineimap import banner
|
from offlineimap import banner
|
||||||
from offlineimap.ui.UIBase import UIBase
|
from offlineimap.ui.UIBase import UIBase
|
||||||
|
Loading…
Reference in New Issue
Block a user