mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ for t in range(0, 5):
|
|||
if not sp.spawn.isalive():
|
||||
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.
|
||||
time.sleep(1)
|
||||
sleep(1)
|
||||
else:
|
||||
print("Fish did not exit via binding!")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue