BUG: More python3 compat

This commit is contained in:
Richard Frank
2016-08-24 15:32:31 -04:00
parent 3493723e7b
commit 1f9cb8ed9f
+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