Skip to content

Commit

Permalink
Allow unicode strings for subsetting.
Browse files Browse the repository at this point in the history
This is how they come from the web.
  • Loading branch information
danlipsa committed Apr 20, 2016
1 parent 7227709 commit e94f7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/cdms2/Lib/axis.py
Expand Up @@ -2250,7 +2250,7 @@ def axisMatches(axis, specification):
3. an axis object; will match if it is the same object as axis.
"""
if isinstance(specification, types.StringType):
if isinstance(specification, basestring):
s = string.lower(specification)
s = s.strip()
while s[0] == '(':
Expand Down

0 comments on commit e94f7c8

Please sign in to comment.