1
1
Fork 0
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:
JasonMo1 2023-06-22 11:31:43 +08:00
parent c57bad63da
commit c4709d2b22

View file

@ -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)
)
#