From a450969f03449b909716073cfea6898aa56cf54a Mon Sep 17 00:00:00 2001 From: tschilling Date: Tue, 17 Jun 2014 21:13:24 -0400 Subject: Prefixing common CSS classes with djdt- --- debug_toolbar/utils.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'debug_toolbar/utils.py') diff --git a/debug_toolbar/utils.py b/debug_toolbar/utils.py index 0aedb54..e5eef4b 100644 --- a/debug_toolbar/utils.py +++ b/debug_toolbar/utils.py @@ -71,11 +71,11 @@ def render_stacktrace(trace): params = map(escape, frame[0].rsplit(os.path.sep, 1) + list(frame[1:])) params_dict = dict((six.text_type(idx), v) for idx, v in enumerate(params)) try: - stacktrace.append('%(0)s/' - '%(1)s' - ' in %(3)s' - '(%(2)s)\n' - ' %(4)s' + stacktrace.append('%(0)s/' + '%(1)s' + ' in %(3)s' + '(%(2)s)\n' + ' %(4)s' % params_dict) except KeyError: # This frame doesn't have the expected format, so skip it and move on to the next one -- cgit v1.2.3