aboutsummaryrefslogtreecommitdiffstats
path: root/anteater/utils
diff options
context:
space:
mode:
Diffstat (limited to 'anteater/utils')
-rw-r--r--anteater/utils/__init__.py1
-rw-r--r--anteater/utils/anteater_logger.py7
2 files changed, 6 insertions, 2 deletions
diff --git a/anteater/utils/__init__.py b/anteater/utils/__init__.py
index 896994c..1db8868 100644
--- a/anteater/utils/__init__.py
+++ b/anteater/utils/__init__.py
@@ -1,3 +1,4 @@
+from __future__ import absolute_import
import pkg_resources
try:
diff --git a/anteater/utils/anteater_logger.py b/anteater/utils/anteater_logger.py
index 1fe705f..785e644 100644
--- a/anteater/utils/anteater_logger.py
+++ b/anteater/utils/anteater_logger.py
@@ -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')