mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 16:49:31 +08:00
Correct time.sleep to just sleep in bind.py
time was not imported, so this was raising an exception.
This commit is contained in:
parent
202e5e53d5
commit
0c79a8d3af
|
@ -329,7 +329,7 @@ for t in range(0, 5):
|
||||||
if not sp.spawn.isalive():
|
if not sp.spawn.isalive():
|
||||||
break
|
break
|
||||||
# This is cheesy, but on CI with thread-sanitizer this can be slow enough that the process is still running, so we sleep for a bit.
|
# This is cheesy, but on CI with thread-sanitizer this can be slow enough that the process is still running, so we sleep for a bit.
|
||||||
time.sleep(1)
|
sleep(1)
|
||||||
else:
|
else:
|
||||||
print("Fish did not exit via binding!")
|
print("Fish did not exit via binding!")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user