Python 3 compatibility: use configparser replace ConfigParser.
Story: 2002909 Task: 24565 Change-Id: Iadd58a60ba960e20c79b06d573d4eb0719b2282a Signed-off: zhangyangyang <zhangyangyang@unionpay.com>
This commit is contained in:
parent
7b86cd14df
commit
ecd030410f
@ -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
|
||||
@ -1349,7 +1349,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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user