summaryrefslogtreecommitdiff
path: root/tools/genboardscfg.py
diff options
context:
space:
mode:
authorRoger Meier <roger@bufferoverflow.ch>2014-08-07 16:19:58 +0200
committerTom Rini <trini@ti.com>2014-08-21 12:01:26 -0400
commit5b12b7a1931eca1ddc001531b3525d2e97b0fa82 (patch)
treee0c3e25c8acfb72518a3e4c873c7b43acbd5c5ac /tools/genboardscfg.py
parentca418dd74b8308012bd9a342339823c81de510a0 (diff)
downloadu-boot-5b12b7a1931eca1ddc001531b3525d2e97b0fa82.tar.gz
tools/genboardscfg.py: no exception if columns undetectable
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 <roger@bufferoverflow.ch> CC: Masahiro Yamada <yamada.m@jp.panasonic.com> CC: Tom Rini <trini@ti.com>
Diffstat (limited to 'tools/genboardscfg.py')
-rwxr-xr-xtools/genboardscfg.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index ffef2381a5..e92e4f8880 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
@@ -402,7 +400,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()