aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikhil Soni <krsoninikhil@gmail.com>2017-02-04 17:44:22 +0530
committerNikhil Soni <krsoninikhil@gmail.com>2017-02-04 17:44:22 +0530
commite6de57ccc6c620b66d87daa06463a36a416d4f1e (patch)
treefb2efc80f42f753dde43c0144d2d983b24519789
parent85e39b86bb582a1065741e28a88e18a6fb146281 (diff)
downloadmitmproxy-e6de57ccc6c620b66d87daa06463a36a416d4f1e.tar.gz
mitmproxy-e6de57ccc6c620b66d87daa06463a36a416d4f1e.tar.bz2
mitmproxy-e6de57ccc6c620b66d87daa06463a36a416d4f1e.zip
Changes view._store from dict to OrderedDict
-rw-r--r--mitmproxy/addons/view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/addons/view.py b/mitmproxy/addons/view.py
index d2ab75f3..3a0587b0 100644
--- a/mitmproxy/addons/view.py
+++ b/mitmproxy/addons/view.py
@@ -102,7 +102,7 @@ orders = [
class View(collections.Sequence):
def __init__(self):
super().__init__()
- self._store = {}
+ self._store = collections.OrderedDict()
self.filter = matchall
# Should we show only marked flows?
self.show_marked = False