Merge "Python 3 compatibility: use configparser replace ConfigParser."

This commit is contained in:
Zuul 2018-10-19 03:32:23 +00:00 committed by Gerrit Code Review
commit 65ef33d43f

View File

@ -13,7 +13,7 @@ import datetime
import psutil
import fcntl
import logging
import ConfigParser
from six.moves import configparser
import itertools
import six
from multiprocessing import Process, cpu_count
@ -1350,7 +1350,7 @@ if __name__ == "__main__":
all_services = ""
fast_postgres_connections = False
fast_postgres = ""
config = ConfigParser.ConfigParser()
config = configparser.ConfigParser()
node = os.popen("hostname").read().strip("\n")