diff options
author | Maximilian Hils <git@maximilianhils.com> | 2018-01-05 16:05:14 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2018-01-05 16:45:46 +0100 |
commit | 9b03ab59ef2f3c3f40b0db0d204b00d819fcc5f5 (patch) | |
tree | c3a011c271ef70196921877e0e143f691b92d649 /mitmproxy/contentviews | |
parent | c2adcb58f4f5f221d10599db2c97e6cf828157c1 (diff) | |
download | mitmproxy-9b03ab59ef2f3c3f40b0db0d204b00d819fcc5f5.tar.gz mitmproxy-9b03ab59ef2f3c3f40b0db0d204b00d819fcc5f5.tar.bz2 mitmproxy-9b03ab59ef2f3c3f40b0db0d204b00d819fcc5f5.zip |
minor fixes
Diffstat (limited to 'mitmproxy/contentviews')
-rw-r--r-- | mitmproxy/contentviews/base.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mitmproxy/contentviews/base.py b/mitmproxy/contentviews/base.py index 97740eea..bdab1e99 100644 --- a/mitmproxy/contentviews/base.py +++ b/mitmproxy/contentviews/base.py @@ -43,9 +43,11 @@ def format_dict( ) -> typing.Iterator[TViewLine]: """ Helper function that transforms the given dictionary into a list of + [ ("key", key ) ("value", value) - tuples, where key is padded to a uniform width. + ] + entries, where key is padded to a uniform width. """ max_key_len = max(len(k) for k in d.keys()) max_key_len = min(max_key_len, KEY_MAX) |