From: Tomas Gavenciak Date: Sat, 10 Jul 2010 08:42:22 +0000 (+0200) Subject: Fix local import name X-Git-Tag: python-dummy-working~46 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=cc9cee8d5456235b6056993760ef8ebd8c08343a;p=moe.git Fix local import name --- diff --git a/t/moe/confparser.py b/t/moe/confparser.py index c6c5508..4e482ad 100644 --- a/t/moe/confparser.py +++ b/t/moe/confparser.py @@ -46,7 +46,7 @@ VARNAME = re('[a-zA-Z0-9-_]+(\.[a-zA-Z0-9-_]+)*') import re, types, itertools, logging as log import traceback -import moe.conf +import moe.conf as conf class ConfigSyntaxError(conf.ConfigError): def __init__(self, msg, fname='', line=None, column=None): diff --git a/t/moe/conftest.py b/t/moe/conftest.py index beac064..31dac56 100644 --- a/t/moe/conftest.py +++ b/t/moe/conftest.py @@ -1,4 +1,4 @@ -import moe.conf +import moe.conf as conf from moe.confparser import * import logging as log import unittest