File bsc1143852_fix_noninteractive.patch of Package python-configshell.13673
Index: configshell-1.5/configshell/shell.py =================================================================== --- configshell-1.5.orig/configshell/shell.py +++ configshell-1.5/configshell/shell.py @@ -43,8 +43,8 @@ except Exception: # In a thread, this fails pass +import readline if sys.stdout.isatty(): - import readline tty=True else: tty=False