diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-21 15:26:47 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-21 15:26:47 +0200 |
commit | 04ecd5542849191457ccfc3e42a39452db47825a (patch) | |
tree | b0a470e46326b709d090a900847bbb004d355607 /paste/exceptions/formatter.py | |
parent | 4c177fce89fee925f0f4fbfde00ce2e1252562c0 (diff) | |
download | paste-04ecd5542849191457ccfc3e42a39452db47825a.tar.gz |
Strip trailing spaces
Diffstat (limited to 'paste/exceptions/formatter.py')
-rw-r--r-- | paste/exceptions/formatter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/paste/exceptions/formatter.py b/paste/exceptions/formatter.py index 7fa5e7d..c83ab50 100644 --- a/paste/exceptions/formatter.py +++ b/paste/exceptions/formatter.py @@ -196,7 +196,7 @@ class TextFormatter(AbstractFormatter): '%s: %s' % (self.quote(etype), self.quote(evalue))) def format_traceback_info(self, info): return info - + def format_combine(self, data_by_importance, lines, exc_info): lines[:0] = [value for n, value in data_by_importance['important']] lines.append(exc_info) @@ -380,7 +380,7 @@ function switch_source(el, hide_type) { } </script>''' - + error_css = """ <style type="text/css"> @@ -464,7 +464,7 @@ def format_html(exc_data, include_hidden_frames=False, **ops): <textarea style="width: 100%%" rows=10 cols=60>%s</textarea> </div> """ % (short_er, long_er, cgi.escape(text_er)) - + def format_text(exc_data, **ops): return TextFormatter(**ops).format_collected_data(exc_data) |