Skip to content
Snippets Groups Projects
Commit c4865980 authored by Christoph Groth's avatar Christoph Groth
Browse files

setup.py: stop using deprecated function

parent 27fa8314
No related branches found
No related tags found
No related merge requests found
...@@ -307,7 +307,7 @@ def extensions(): ...@@ -307,7 +307,7 @@ def extensions():
config = configparser.ConfigParser() config = configparser.ConfigParser()
try: try:
with open(CONFIG_FILE) as f: with open(CONFIG_FILE) as f:
config.readfp(f) config.read_file(f)
except IOError: except IOError:
config_file_present = False config_file_present = False
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment