Skip to content

Commit 62be3e5

Browse files
committed
fix interactive console
1 parent 6987e88 commit 62be3e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

jenkins_cli/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import print_function
22
import os
3-
from time import time
3+
from time import time, sleep
44
import datetime
55
import jenkins
66
import socket
@@ -293,7 +293,7 @@ def console(self, args):
293293
if new_line_num > last_line_num:
294294
print("\n".join(console_out[last_line_num:]))
295295
last_line_num = new_line_num
296-
time.sleep(3)
296+
sleep(3)
297297
build_info = self.jenkins.get_build_info(job_name, build_number)
298298

299299
def building(self, args):

0 commit comments

Comments
 (0)