updated Queue and ConfigParser to use 2/3 compatible imports
This commit is contained in:
parent
b58d32c156
commit
864c7b69a1
6 changed files with 9 additions and 7 deletions
|
@ -6,7 +6,7 @@ message handlers are defined and some support for sending messages.
|
|||
"""
|
||||
|
||||
import argparse
|
||||
import ConfigParser
|
||||
import configparser
|
||||
import logging
|
||||
import sys
|
||||
import threading
|
||||
|
@ -100,7 +100,7 @@ def get_merged_config(filename):
|
|||
if args.configfile is not None:
|
||||
filename = args.configfile
|
||||
del args.configfile
|
||||
cfg = ConfigParser.SafeConfigParser(defaults)
|
||||
cfg = configparser.ConfigParser(defaults)
|
||||
cfg.read(filename)
|
||||
|
||||
section = "core-daemon"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue