MAINT: Change relative library imports to use dot syntax.

Testing with a Python 3 virtualenv uncovered more relative imports
that did not explicitly use the dot syntax.
This commit is contained in:
Eddie Hebert
2013-07-02 21:31:59 -04:00
parent 4c42e5a6d7
commit 4f5b2d6298
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ from . import finance
from . import gens
from . import utils
from algorithm import TradingAlgorithm
from . algorithm import TradingAlgorithm
__all__ = [
'data',
+2 -2
View File
@@ -23,8 +23,8 @@ from datetime import timedelta
import logbook
from . treasuries import get_treasury_data
import benchmarks
from benchmarks import get_benchmark_returns
from . import benchmarks
from . benchmarks import get_benchmark_returns
from zipline.protocol import DailyReturn
from zipline.utils.date_utils import tuple_to_date