blob: 5d774b7d4dfb62be134beedf7807e43fd7498947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ def cfg_to_args(path='setup.cfg'):
config = RawConfigParser()
f = codecs.open(path, encoding='utf-8')
try:
- config.readfp(f)
+ config.read_file(f)
finally:
f.close()
|