Short-form getstate

This commit is contained in:
Aldo Cortesi 2014-09-17 14:04:26 +12:00
parent 414a0a1602
commit 0e30796469

View File

@ -162,7 +162,7 @@ class ODict:
return count return count
# Implement the StateObject protocol from mitmproxy # Implement the StateObject protocol from mitmproxy
def get_state(self): def get_state(self, short=False):
return [tuple(i) for i in self.lst] return [tuple(i) for i in self.lst]
def load_state(self, state): def load_state(self, state):