Skip to content

Commit 77ef2c0

Browse files
author
Rafael Martins
committed
fix no readline/editline build
1 parent 39c939f commit 77ef2c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recipe/run_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,12 @@
8282
import fcntl
8383
import grp
8484
import nis
85-
import readline
8685
import resource
8786
import syslog
8887
import termios
8988

89+
if os.environ["READLINE_MODE"] != 'none':
90+
import readline
9091

9192
if not (armv6l or armv7l or ppc64le or osx105 or arm64):
9293
import tkinter

0 commit comments

Comments
 (0)