Remove 'len-as-condition' disablement

This commit is contained in:
twangboy 2018-06-01 11:51:52 -06:00
parent d4efcc3c8b
commit 4538b3abb3
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -405,7 +405,7 @@ class DownloadWindowsDlls(Command):
if IS_PY3:
while True:
chunk = req.read(4096)
if len(chunk) == 0: # pylint: disable=len-as-condition
if len(chunk) == 0:
break
wfh.write(chunk)
wfh.flush()