From 366e796975aee13889373faebfcfb77a5850c509 Mon Sep 17 00:00:00 2001 From: llllllllll Date: Thu, 10 Dec 2015 13:01:16 -0500 Subject: [PATCH] MAINT: remove extra checks around empty odo_kwargs --- zipline/pipeline/loaders/blaze/earnings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/pipeline/loaders/blaze/earnings.py b/zipline/pipeline/loaders/blaze/earnings.py index 25eee93c..6f63d8cd 100644 --- a/zipline/pipeline/loaders/blaze/earnings.py +++ b/zipline/pipeline/loaders/blaze/earnings.py @@ -98,7 +98,7 @@ class BlazeEarningsCalendarLoader(PipelineLoader): timestamp=filtered[TS_FIELD_NAME].max(), ).timestamp.min(), pd.Timestamp, - **self._odo_kwargs or {} + **self._odo_kwargs ) if lower is pd.NaT: # If there is no lower date, just query for data in the date @@ -111,7 +111,7 @@ class BlazeEarningsCalendarLoader(PipelineLoader): (expr[TS_FIELD_NAME] <= dates[-1]) ], pd.DataFrame, - **self._odo_kwargs or {} + **self._odo_kwargs ) sids = raw.loc[:, SID_FIELD_NAME]