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

Fixed bug with __exit__ method on BytesBuffer.

parent c80d8def
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)