BUG: More python3 compat

This commit is contained in:
Richard Frank
2016-08-23 16:21:20 -04:00
parent 419bd1e3b5
commit cf6ec9fd73
+2 -1
View File
@@ -7,6 +7,7 @@ import warnings
from contextlib2 import ExitStack
import click
import pandas as pd
from six import string_types
from toolz import curry, complement, take
from ..us_equity_pricing import (
@@ -295,7 +296,7 @@ def _make_bundle_core():
stacklevel=3,
)
if isinstance(calendar, str):
if isinstance(calendar, string_types):
calendar = get_calendar(calendar)
# If the start and end sessions are not provided or lie outside