mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Wordwrap to appease the great flake8 in the sky
This commit is contained in:
parent
48266149fb
commit
15e46c6be9
|
@ -313,11 +313,11 @@ class RequirementSet(object):
|
|||
elif os.path.exists(os.path.join(location, 'setup.py')):
|
||||
raise PreviousBuildDirError(
|
||||
"pip can't proceed with requirements '%s' due to a"
|
||||
" pre-existing build directory (%s). This is likely"
|
||||
" due to a previous installation that failed. pip "
|
||||
"is being responsible and not assuming it can "
|
||||
"delete this. Please delete it and try again." %
|
||||
(req_to_install, location)
|
||||
" pre-existing build directory (%s). This is "
|
||||
"likely due to a previous installation that failed"
|
||||
". pip is being responsible and not assuming it "
|
||||
"can delete this. Please delete it and try again."
|
||||
% (req_to_install, location)
|
||||
)
|
||||
else:
|
||||
# FIXME: this won't upgrade when there's an existing
|
||||
|
|
|
@ -757,9 +757,9 @@ def read_text_file(filename):
|
|||
"""Return the contents of *filename*.
|
||||
|
||||
Try to decode the file contents with utf-8, the preferred system encoding
|
||||
(e.g., cp1252 on some Windows machines), and latin1, in that order. Decoding
|
||||
a byte string with latin1 will never raise an error. In the worst case, the
|
||||
returned string will contain some garbage characters.
|
||||
(e.g., cp1252 on some Windows machines), and latin1, in that order.
|
||||
Decoding a byte string with latin1 will never raise an error. In the worst
|
||||
case, the returned string will contain some garbage characters.
|
||||
|
||||
"""
|
||||
with open(filename, 'rb') as fp:
|
||||
|
|
Loading…
Reference in a new issue