Workaround for flake8 / recent pyflakes

This commit is contained in:
Laurent Bachelier 2013-12-16 19:46:24 +01:00 committed by Romain Bignon
commit 5149c12cec

View file

@ -147,7 +147,7 @@ def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
del pkg_resources, sys.modules['pkg_resources'] # reload ok
return _do_download(version, download_base, to_dir,
download_delay)
except pkg_resources.DistributionNotFound:
except pkg_resources.DistributionNotFound: # NOQA
return _do_download(version, download_base, to_dir,
download_delay)