mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Add permission check before configuration11
This commit is contained in:
parent
c57bad63da
commit
c4709d2b22
|
@ -216,7 +216,8 @@ class Configuration:
|
|||
parser.write(f)
|
||||
except IOError as error:
|
||||
raise ConfigurationError(
|
||||
"An error occurred while writing to the configuration file: {0}\nError message: {1}".format(fname, error)
|
||||
"An error occurred while writing to the configuration file: {0}\n \
|
||||
Error message: {1}".format(fname, error)
|
||||
)
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue