We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ea3eb commit 583e787Copy full SHA for 583e787
tools/build_release.py
@@ -20,7 +20,7 @@
20
from optparse import OptionParser
21
import json
22
from shutil import copy
23
-from past.builtins import str
+from past.builtins import basestring
24
25
# Be sure that the tools directory is in the search path
26
ROOT = abspath(join(dirname(__file__), ".."))
@@ -111,7 +111,7 @@
111
test_names = []
112
for test_id in list(TEST_MAP.keys()):
113
# Prevents tests with multiple source dirs from being checked
114
- if isinstance(TEST_MAP[test_id].source_dir, str):
+ if isinstance(TEST_MAP[test_id].source_dir, basestring):
115
test_path = normpath(TEST_MAP[test_id].source_dir)
116
for directory in directories:
117
if directory in test_path:
0 commit comments