# HG changeset patch # User Julien Cristau # Date 1371032881 -7200 # Node ID e9a3a22f98b76013a7dabc0fd66ed990a75bc9eb # Parent 3b437196c2d8c5251d01f7da47ce7e9a2184e073 Use return in CnxSetTracker context manager methods Just in case. diff -r 3b437196c2d8 -r e9a3a22f98b7 server/session.py --- a/server/session.py Mon Jul 15 11:45:37 2013 +0200 +++ b/server/session.py Wed Jun 12 12:28:01 2013 +0200 @@ -227,10 +227,10 @@ self._record = {} def __enter__(self): - self._condition.__enter__() + return self._condition.__enter__() def __exit__(self, *args): - self._condition.__exit__(*args) + return self._condition.__exit__(*args) def record(self, txid, cnxset): """Inform the tracker that a txid have acquired a cnxset