Commit 2540b994 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with __exit__ method on BytesBuffer.

parent c80d8def
......@@ -67,5 +67,5 @@ class BytesBuffer(object):
def __enter__(self):
return self._lock.__enter__()
def __exit__(self):
return self._lock.__exit__()
def __exit__(self, exc_type, exc_value, traceback):
return self._lock.__exit__(exc_type, exc_value, traceback)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment