From e6de57ccc6c620b66d87daa06463a36a416d4f1e Mon Sep 17 00:00:00 2001 From: Nikhil Soni Date: Sat, 4 Feb 2017 17:44:22 +0530 Subject: [PATCH] Changes view._store from dict to OrderedDict --- mitmproxy/addons/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/addons/view.py b/mitmproxy/addons/view.py index d2ab75f3f..3a0587b05 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