Merge "Python 3 compatibility: use configparser replace ConfigParser."
This commit is contained in:
commit
65ef33d43f
@ -13,7 +13,7 @@ import datetime
|
|||||||
import psutil
|
import psutil
|
||||||
import fcntl
|
import fcntl
|
||||||
import logging
|
import logging
|
||||||
import ConfigParser
|
from six.moves import configparser
|
||||||
import itertools
|
import itertools
|
||||||
import six
|
import six
|
||||||
from multiprocessing import Process, cpu_count
|
from multiprocessing import Process, cpu_count
|
||||||
@ -1350,7 +1350,7 @@ if __name__ == "__main__":
|
|||||||
all_services = ""
|
all_services = ""
|
||||||
fast_postgres_connections = False
|
fast_postgres_connections = False
|
||||||
fast_postgres = ""
|
fast_postgres = ""
|
||||||
config = ConfigParser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
|
|
||||||
node = os.popen("hostname").read().strip("\n")
|
node = os.popen("hostname").read().strip("\n")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user