Learn more about these different git repos.
Other Git URLs
2ec2cbd
@@ -1705,7 +1705,10 @@
for configFile in configs:
f = open(configFile)
config = six.moves.configparser.ConfigParser()
- config.readfp(f)
+ if six.PY3:
+ config.read_file(f)
+ else:
+ config.readfp(f)
f.close()
if config.has_section(profile_name):
got_conf = True
This change would be useful for other projects to suppress lots of deprecation warning messages.
Signed-off-by: Chenxiong Qi cqi@redhat.com
rebased onto 2ec2cbd
PR #1150 might duplicate this
@julian8628 Oh, I didn't notice your PR. Thanks for fixing that. :)
Pull-Request has been closed by cqi
This change would be useful for other projects to suppress lots of
deprecation warning messages.
Signed-off-by: Chenxiong Qi cqi@redhat.com