Skip to content

Commit

Permalink
Fix py2 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
njsmith committed Jul 16, 2014
1 parent d22d502 commit 6c5fcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patsy/build.py
Expand Up @@ -782,7 +782,7 @@ def subset(self, which_terms):
evaluators = set()
term_to_column_builders = {}
for term_or_name in which_terms:
if isinstance(term_or_name, str):
if isinstance(term_or_name, six.string_types):
if term_or_name not in term_name_to_term:
raise PatsyError("requested term %r not found in "
"this DesignMatrixBuilder"
Expand Down

0 comments on commit 6c5fcf9

Please sign in to comment.