X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=anteater%2Fsrc%2Fpatch_scan.py;h=71604a88f6e5a1a56554634fcd9b4fcbf0382fe7;hb=eceefe7114bc5d0fc94ac77ee4e510c94c1a76bf;hp=f8ef225b9d25867a4ef54c63f223ab0f94a5f69d;hpb=f2149d0366a2dd7add11d017679307256632d372;p=releng-anteater.git diff --git a/anteater/src/patch_scan.py b/anteater/src/patch_scan.py index f8ef225..71604a8 100644 --- a/anteater/src/patch_scan.py +++ b/anteater/src/patch_scan.py @@ -19,15 +19,15 @@ from __future__ import division, print_function, absolute_import from binaryornot.check import is_binary import anteater.utils.anteater_logger as antlog -import anteater.src.get_lists as get_lists -import ConfigParser import hashlib +import six.moves.configparser import sys import re +from . import get_lists logger = antlog.Logger(__name__).getLogger() -config = ConfigParser.RawConfigParser() +config = six.moves.configparser.RawConfigParser() config.read('anteater.conf') reports_dir = config.get('config', 'reports_dir') failure = False