Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unnecessary log statement.

  • Loading branch information...
commit 9fd8e79fcb32ae6545c4f6c7844fe108abc7d23e 1 parent 4b90d29
@ralphbean authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 fedmsg/core.py
View
4 fedmsg/core.py
@@ -180,9 +180,7 @@ def _set_tcp_keepalive(self, socket):
for key, const in keepalive_options.items():
if key in self.c:
attr = getattr(zmq, const, None)
- if not attr:
- self.log.warn("zmq.%s not available" % const)
- else:
+ if attr:
self.log.debug("Setting %r %r" % (const, self.c[key]))
socket.setsockopt(attr, self.c[key])
Please sign in to comment.
Something went wrong with that request. Please try again.