mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
bitbake-dev: Move the ncurses TTY check into the UI plugin itself.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5529 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -123,7 +123,6 @@ Default BBFILES are the .bb files in the current directory.""" )
|
||||
configuration.pkgs_to_build = []
|
||||
configuration.pkgs_to_build.extend(args[1:])
|
||||
|
||||
|
||||
# Work out which UI(s) to use
|
||||
curseUI = False
|
||||
depexplorerUI = False
|
||||
@@ -168,10 +167,6 @@ Default BBFILES are the .bb files in the current directory.""" )
|
||||
|
||||
# Launch the UI
|
||||
try:
|
||||
# Disable UIs that need a terminal
|
||||
if not os.isatty(sys.stdout.fileno()):
|
||||
curseUI = False
|
||||
|
||||
if curseUI:
|
||||
try:
|
||||
import curses
|
||||
|
||||
Reference in New Issue
Block a user