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:
Sebastian Spaeth 2012-01-19 02:00:09 +01:00
parent 3cd3edefca
commit 075c1d2cdc
2 changed files with 2 additions and 0 deletions

View File

@ -20,3 +20,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)

View File

@ -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