updated Queue and ConfigParser to use 2/3 compatible imports

This commit is contained in:
bharnden 2019-05-05 21:49:42 -07:00
parent b58d32c156
commit 864c7b69a1
6 changed files with 9 additions and 7 deletions

View file

@ -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"