diff options
Diffstat (limited to 'Lib/dos-8x3/tracebac.py')
-rwxr-xr-x | Lib/dos-8x3/tracebac.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dos-8x3/tracebac.py b/Lib/dos-8x3/tracebac.py index 9823100..7488f15 100755 --- a/Lib/dos-8x3/tracebac.py +++ b/Lib/dos-8x3/tracebac.py @@ -66,7 +66,7 @@ def extract_tb(tb, limit = None): line = linecache.getline(filename, lineno) if line: line = string.strip(line) else: line = None - list.append(filename, lineno, name, line) + list.append((filename, lineno, name, line)) tb = tb.tb_next n = n+1 return list @@ -176,7 +176,7 @@ def extract_stack(f=None, limit = None): line = linecache.getline(filename, lineno) if line: line = string.strip(line) else: line = None - list.append(filename, lineno, name, line) + list.append((filename, lineno, name, line)) f = f.f_back n = n+1 list.reverse() |