aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/binman.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 13:18:43 -0600
committerSimon Glass <sjg@chromium.org>2019-07-23 20:27:58 -0700
commit9382bb873b627e5ce660ab3e8385a90460a0df2c (patch)
tree0fb9be770b876efdddd18e2175f8a18d3e421204 /tools/binman/binman.py
parentff5c7e383e8c053684fff263dd0afc7aeb8040fb (diff)
downloadu-boot-9382bb873b627e5ce660ab3e8385a90460a0df2c.zip
u-boot-9382bb873b627e5ce660ab3e8385a90460a0df2c.tar.gz
u-boot-9382bb873b627e5ce660ab3e8385a90460a0df2c.tar.bz2
binman: Drop unnecessary debug handling
The -D option enables debug mode, but we only need to add -D to the command line once. Drop the duplicate code. Also drop the comment about enabling debugging since this can be done with -D. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/binman.py')
-rwxr-xr-xtools/binman/binman.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index 05aeaec..bab9882 100755
--- a/tools/binman/binman.py
+++ b/tools/binman/binman.py
@@ -71,8 +71,6 @@ def RunTests(debug, processes, args):
sys.argv = [sys.argv[0]]
if debug:
sys.argv.append('-D')
- if debug:
- sys.argv.append('-D')
# Run the entry tests first ,since these need to be the first to import the
# 'entry' module.
@@ -151,9 +149,6 @@ def RunBinman(options, args):
"""
ret_code = 0
- # For testing: This enables full exception traces.
- #options.debug = True
-
if not options.debug:
sys.tracebacklimit = 0