diff options
| author | David Cramer | 2011-05-16 14:15:09 -0700 | 
|---|---|---|
| committer | David Cramer | 2011-05-16 14:15:09 -0700 | 
| commit | 7ec2c609844d1757380fb8d7979d751e5a3c1c62 (patch) | |
| tree | c78895765fa0b8dd7bb7630cf05e1d464c88e1f0 | |
| parent | 679c3214d6777171fa0bca9f8d1c5267c2dbbfaa (diff) | |
| download | django-debug-toolbar-7ec2c609844d1757380fb8d7979d751e5a3c1c62.tar.bz2 | |
Correct display of text in stacktraces
| -rw-r--r-- | debug_toolbar/utils/__init__.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/debug_toolbar/utils/__init__.py b/debug_toolbar/utils/__init__.py index aa214c9..3f035e6 100644 --- a/debug_toolbar/utils/__init__.py +++ b/debug_toolbar/utils/__init__.py @@ -36,7 +36,7 @@ def tidy_stacktrace(stack):              continue          if socketserver_path in s_path:              continue -        trace.append((path, line_no, func_name, text)) +        trace.append((path, line_no, func_name, (''.join(text)).strip()))      return trace  def get_template_info(source, context_lines=3): | 
