mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user