summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 12:46:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 23:01:36 +0100
commitc37d5426b1872d29347c1fecd9bda7b455fa15e0 (patch)
tree6a8732457ba5027da861ad1bcd0a35a4ad2ebd74 /meta
parent8049f25e9cf1cc9277851fb8ce3ed366588975da (diff)
downloadpoky-c37d5426b1872d29347c1fecd9bda7b455fa15e0.tar.gz
scripts, lib: Don't limit traceback lengths to arbitrary values
There appears to have been a lot of copy and pasting of the code which prints tracebacks upon failure and limits the stack trace to 5 entries. This obscures the real error and is very confusing to the user it look me an age to work out why some tracebacks weren't useful. This patch removes the limit, making tracebacks much more useful for debugging. [YOCTO #9230] (From OE-Core rev: 6069175e9bb97ace100bb5e99b6104d33163a3a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/files/ext-sdk-prepare.py2
-rwxr-xr-xmeta/lib/oeqa/runexported.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/files/ext-sdk-prepare.py b/meta/files/ext-sdk-prepare.py
index 7887696153..80db8bb16a 100644
--- a/meta/files/ext-sdk-prepare.py
+++ b/meta/files/ext-sdk-prepare.py
@@ -94,5 +94,5 @@ if __name__ == "__main__":
94 except Exception: 94 except Exception:
95 ret = 1 95 ret = 1
96 import traceback 96 import traceback
97 traceback.print_exc(5) 97 traceback.print_exc()
98 sys.exit(ret) 98 sys.exit(ret)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
index dba0d7aec1..e9a29126c8 100755
--- a/meta/lib/oeqa/runexported.py
+++ b/meta/lib/oeqa/runexported.py
@@ -140,5 +140,5 @@ if __name__ == "__main__":
140 except Exception: 140 except Exception:
141 ret = 1 141 ret = 1
142 import traceback 142 import traceback
143 traceback.print_exc(5) 143 traceback.print_exc()
144 sys.exit(ret) 144 sys.exit(ret)