Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mirror
sjrpc
Commits
2540b994
Commit
2540b994
authored
Jan 31, 2011
by
Antoine Millet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with __exit__ method on BytesBuffer.
parent
c80d8def
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sjrpc/utils/datastructures.py
sjrpc/utils/datastructures.py
+2
-2
No files found.
sjrpc/utils/datastructures.py
View file @
2540b994
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment