add Python3 support with six
[releng-anteater.git] / anteater / utils / anteater_logger.py
index 1fe705f..785e644 100644 (file)
@@ -9,11 +9,14 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 
-import ConfigParser
+from __future__ import absolute_import
+
 import logging
+
 import os
+import six.moves.configparser
 
-config = ConfigParser.RawConfigParser()
+config = six.moves.configparser.RawConfigParser()
 config.read('anteater.conf')
 anteater_log = config.get('config', 'anteater_log')