Commit 557b5bd5 authored by Julien Muchembled's avatar Julien Muchembled

fixup! Add file descriptor and aborted flag to __repr__ of connections

'aborted' could appear twice.
parent e95847fa
......@@ -352,7 +352,7 @@ class Connection(BaseConnection):
r.append(('len(queue)', len(self._queue)))
if self._on_close is not None:
r.append(('on_close', getattr(self._on_close, '__name__', '?')))
flags.extend(x for x in ('aborted', 'connecting', 'client', 'server')
flags.extend(x for x in ('connecting', 'client', 'server')
if getattr(self, x))
return r, flags
......
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