The existing terminalsize detection raised an exception on build server. Just removes the exception. This also deactivates the progress indicator.
Remove a trainling whitespace. Signed-off-by: Roger Meier <ro...@bufferoverflow.ch> CC: Masahiro Yamada <yamad...@jp.panasonic.com> CC: Tom Rini <tr...@ti.com> --- Changes for v2: - use 24 instead of 25 lines Changes for v3: - return integer with 0 columns instead of tuple, this also deactivates the progress indicator --- tools/genboardscfg.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py index 734d90b..cd9e69c 100755 --- a/tools/genboardscfg.py +++ b/tools/genboardscfg.py @@ -58,8 +58,6 @@ def get_terminal_columns(): try: ret = fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ, arg) except IOError as exception: - if exception.errno != errno.ENOTTY: - raise # If 'Inappropriate ioctl for device' error occurs, # stdout is probably redirected. Return 0. return 0 @@ -408,7 +406,7 @@ def __gen_boards_cfg(jobs): jobs: The number of jobs to run simultaneously Note: - The incomplete boards.cfg is left over when an error (including + The incomplete boards.cfg is left over when an error (including the termination by the keyboard interrupt) occurs on the halfway. """ check_top_directory() -- 1.7.10.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot