Skip to content

Commit 998d42b

Browse files
committed
Fix flake8 errors
1 parent c1c018f commit 998d42b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

memcache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,8 @@ def readline(self, raise_exception=False):
14421442
if self.socket:
14431443
recv = self.socket.recv
14441444
else:
1445-
recv = lambda bufsize: b''
1445+
def recv(bufsize):
1446+
return b''
14461447

14471448
while True:
14481449
index = buf.find(b'\r\n')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
maintainer="Sean Reifschneider",
1616
maintainer_email="jafo@tummy.com",
1717
url="https://github.com/linsomniac/python-memcached",
18-
download_url="https://github.com/linsomniac/python-memcached/releases/download/{0}/python-memcached-{0}.tar.gz".format(version),
18+
download_url="https://github.com/linsomniac/python-memcached/releases/download/{0}/python-memcached-{0}.tar.gz".format(version), # noqa
1919
py_modules=["memcache"],
2020
install_requires=open('requirements.txt').read().split(),
2121
classifiers=[

0 commit comments

Comments
 (0)