Merge pull request #98 from pplante/master

Explicit file flush in mitmdump
This commit is contained in:
Aldo Cortesi 2013-01-25 18:58:06 -08:00
commit 1e0bab65e3

View File

@ -101,6 +101,7 @@ def dump(value,file,encoding=None):
the given file. the given file.
""" """
file.write(dumps(value,encoding)) file.write(dumps(value,encoding))
file.flush()
def _rdumpq(q,size,value,encoding=None): def _rdumpq(q,size,value,encoding=None):