Skip to content
Browse files

added a flake8 flag

  • Loading branch information...
1 parent bcc30f8 commit 49e50a3f1d1821b2705bb4376cdfaa84ac56a148 @tarekziade tarekziade committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 memcachepool/cache.py
View
4 memcachepool/cache.py
@@ -74,13 +74,13 @@ def _get_client(self):
# not be a problem since we'll usually set this
# timeout to 5 seconds, which is long enough for any
# protocol
- if hasattr(self._lib.Client, 'sock'):
+ if hasattr(self._lib.Client, 'sock'): # NOQA
def create_client(server):
cli = self._lib.Client(server)
cli.sock.settimeout(self.socktimeout)
return cli
else:
- def create_client(client):
+ def create_client(client): # NOQA
old = socket.getdefaulttimeout()
socket.setdefaulttimeout(self.socktimeout)
try:

0 comments on commit 49e50a3

Please sign in to comment.
Something went wrong with that request. Please try again.