Skip to content

Commit

Permalink
Fix EncodingWarnings in dist.py. Ref #232.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 2, 2024
1 parent b420f2d commit 559a4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def parse_config_files(self, filenames=None): # noqa: C901
for filename in filenames:
if DEBUG:
self.announce(" reading %s" % filename)
parser.read(filename)
parser.read(filename, encoding='utf-8')
for section in parser.sections():
options = parser.options(section)
opt_dict = self.get_option_dict(section)
Expand Down

0 comments on commit 559a4f3

Please sign in to comment.