python-modernize -f libmodernize.fixes.fix_file

This commit is contained in:
Tomas Kopecek 2017-05-03 11:42:09 +02:00
parent 68bf19c739
commit a4a1536a03
13 changed files with 58 additions and 58 deletions

View file

@ -591,7 +591,7 @@ def parse_maven_params(confs, chain=False, scratch=False):
confs = [confs]
config = six.moves.configparser.ConfigParser()
for conf in confs:
conf_fd = file(conf)
conf_fd = open(conf)
config.readfp(conf_fd)
conf_fd.close()
builds = {}