Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improper use of error object (rare)

Signed-off-by: Jack Miller <jack@codezen.org>
  • Loading branch information...
commit d1d873cc6469d9ce4bceaedc8b2fe84cdcd3fb42 1 parent dfba58c
@themoken authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  canto_next/protocol.py
View
2  canto_next/protocol.py
@@ -187,7 +187,7 @@ def _do_read(self, conn, timeout):
except Exception as e:
if e.args[0] == errno.EINTR:
return
- log.error("Error sending: %s" % e[1])
+ log.error("Error sending: %s" % e)
log.error("Interpreting as HUP")
return select.POLLHUP
Please sign in to comment.
Something went wrong with that request. Please try again.