From: Matthew W. S. Bell <men...@engelbert.(none)> Just print each item on a newline; a better implementation would be welcome
Signed-off-by: Matthew W. S. Bell <matt...@bells23.org.uk> --- src/netconf/core.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/netconf/core.py b/src/netconf/core.py index 1643e6b..981f372 100644 --- a/src/netconf/core.py +++ b/src/netconf/core.py @@ -202,7 +202,10 @@ class Core(object, logger.Mixin): time.sleep(0.5) # block until the next IO event or a timeout - self._log.debug('fdrreactors now: %s' % self._fdrreactors) + s = 'fdrreactors now:\n' + for fd, reactor in self._fdrreactors.iteritems(): + s += '\t{%s: %s}\n' % (fd, reactor) + self._log.debug(s) if timeout: self._log.debug('timeout is %g' % timeout) self._log.debug('timed callbacks now: %s' -- 1.6.2.4 _______________________________________________ netconf-devel mailing list netconf-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/netconf-devel