summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2008-12-08 11:17:26 -0600
committerDavid Lehman <dlehman@redhat.com>2008-12-08 12:03:19 -0600
commit64b793a0136323ea2bb8e1d58628d454cd59724c (patch)
treeca65d7d92899e9b1ea0498baee8b3f5ab5c3e18b /anaconda
parentbc9469f6d06ecc6bde6129dbcf2f4ae35bb874da (diff)
downloadanaconda-64b793a0136323ea2bb8e1d58628d454cd59724c.tar.gz
anaconda-64b793a0136323ea2bb8e1d58628d454cd59724c.tar.xz
anaconda-64b793a0136323ea2bb8e1d58628d454cd59724c.zip
Use stacks instead of tracebacks in traceback handlers.
This allows us to generate traceback-like stacks on demand using inspect.stack(). stack() returns a list of tuples representing the stack frames at the time of invocation. A traceback object can be converted to a list of these tuples by calling inspect.getinnerframes(tb). NOTE: the stack() function returns the frames in the opposite order of a traceback's.
Diffstat (limited to 'anaconda')
0 files changed, 0 insertions, 0 deletions