diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-07-23 12:01:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-23 12:01:05 -0700 |
commit | fcb906dc97914ad7d852d7e0c04e68121946e350 (patch) | |
tree | 80621aac498d00b0ffa8fd38f8266a341c64e1b2 /netlib | |
parent | c58db1adf362345e8c7ca4a58b4a58abb23d9b32 (diff) | |
download | mitmproxy-fcb906dc97914ad7d852d7e0c04e68121946e350.tar.gz mitmproxy-fcb906dc97914ad7d852d7e0c04e68121946e350.tar.bz2 mitmproxy-fcb906dc97914ad7d852d7e0c04e68121946e350.zip |
improve dumper addon text alignment (#1415)
Diffstat (limited to 'netlib')
-rw-r--r-- | netlib/strutils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/netlib/strutils.py b/netlib/strutils.py index 32e77927..96c8b10f 100644 --- a/netlib/strutils.py +++ b/netlib/strutils.py @@ -51,8 +51,7 @@ else: def escape_control_characters(text, keep_spacing=True): """ - Replace all unicode C1 control characters from the given text with their respective control pictures. - For example, a null byte is replaced with the unicode character "\u2400". + Replace all unicode C1 control characters from the given text with a single "." Args: keep_spacing: If True, tabs and newlines will not be replaced. |