1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Switch to a larger catch-all error

This commit is contained in:
Pradyun S. Gedam 2017-01-16 00:14:37 +05:30
parent 0557b0e2d1
commit 8e1a353b6d

View file

@ -298,7 +298,7 @@ class InstallCommand(RequirementCommand):
installed = ' '.join(items)
if installed:
logger.info('Successfully installed %s', installed)
except OSError:
except EnvironmentError:
base_msg = (
"Unable to install due to lack of permissions in "
"installation directory."