##// END OF EJS Templates
gunicorn: fixed imports for configparser
marcink -
r984:107d305d python3
parent child Browse files
Show More
@@ -50,12 +50,9 b' def _get_process_rss(pid=None):'
50
50
51
51
52 def _get_config(ini_path):
52 def _get_config(ini_path):
53 import configparser
53
54
54 try:
55 try:
55 import configparser
56 except ImportError:
57 import ConfigParser as configparser
58 try:
59 config = configparser.RawConfigParser()
56 config = configparser.RawConfigParser()
60 config.read(ini_path)
57 config.read(ini_path)
61 return config
58 return config
General Comments 0
You need to be logged in to leave comments. Login now