Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
remove unused import, dodgy error handling
  • Loading branch information
Will Slater authored and Will Slater committed Apr 13, 2015
1 parent f2dc430 commit 7b474bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pika/adapters/base_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import logging
import socket
import ssl
import collections

from pika import connection
from pika import exceptions
Expand Down Expand Up @@ -389,7 +388,6 @@ def _handle_write(self):
LOGGER.debug("Would block, requeuing frame")
self.outbound_buffer.appendleft(frame)
else:
LOGGER.warning("Socket error: %s", errno.errorcode[error.errno])
return self._handle_error(error)

#LOGGER.debug("wrote %s bytes", bytes_written)
Expand Down

0 comments on commit 7b474bb

Please sign in to comment.