Skip to content

Commit b2981c7

Browse files
author
Patrik Kopkan
committed
fixing lint errors
1 parent 57e4571 commit b2981c7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/pip/_internal/commands/wheel.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def __init__(self, *args, **kw):
102102
dest='path_to_wheelnames',
103103
action='store',
104104
metavar='path',
105-
help="stores the filenames of the built or downloaded wheels in a new file of given path"
105+
help=("stores the filenames of the built or downloaded wheels"
106+
"in a new file of given path"),
106107
)
107108

108109
index_opts = cmdoptions.make_option_group(
@@ -198,8 +199,9 @@ def run(self, options, args):
198199
entries_to_save
199200
) + '\n'
200201
)
201-
except PermissionError as e:
202-
logger.error('Cannot write to the given path: %s', wb.path_to_wheelnames)
202+
except EnvironmentError as e:
203+
logger.error('Cannot write to the given path: %s',
204+
wb.path_to_wheelnames)
203205
logger.error('PermissionError: %s', str(e))
204206

205207
except PreviousBuildDirError:

0 commit comments

Comments
 (0)