/head: changeset 38

*** empty log message ***
This commit is contained in:
jgoerzen
2002-06-21 10:55:23 +01:00
parent 8171027aa1
commit cf52b56246
2 changed files with 3 additions and 2 deletions

View File

@ -31,10 +31,11 @@ class TTYUI(UIBase):
(remainingsecs / 60, remainingsecs % 60))
sys.stdout.flush()
else:
sys.stdout.write("Wait done, proceeding with sync.... ")
sys.stdout.write("Wait done, proceeding with sync.... \n")
if sleepsecs > 0:
if len(select.select([sys.stdin], [], [], sleepsecs)[0]):
sys.stdin.readline()
return 1
return 0