Skip to content

Commit 1c84b48

Browse files
committed
Merge pull request #1941 from UV-CDAT/cdat-web-plot-subsetting
Allow unicode strings for subsetting.
2 parents 6e372a5 + 2b39889 commit 1c84b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/cdms2/Lib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@ def axisMatches(axis, specification):
22502250
22512251
3. an axis object; will match if it is the same object as axis.
22522252
"""
2253-
if isinstance(specification, types.StringType):
2253+
if isinstance(specification, basestring):
22542254
s = string.lower(specification)
22552255
s = s.strip()
22562256
while s[0] == '(':

0 commit comments

Comments
 (0)