Permalink
Browse files

Allow repr() for IOChannel with fileno=None

  • Loading branch information...
1 parent 4732469 commit d3bba6358e863dee22a799f365fdb70ff82dc446 @jtackaberry jtackaberry committed Jan 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/io.py
View
@@ -265,7 +265,7 @@ def __repr__(self):
clsname = self.__class__.__name__
if not hasattr(self, '_channel') or not self._channel:
return '<kaa.%s - disconnected>' % clsname
- return '<kaa.%s fd=%d>' % (clsname, self.fileno)
+ return '<kaa.%s fd=%s>' % (clsname, self.fileno)
@property

0 comments on commit d3bba63

Please sign in to comment.