Skip to content

Commit 583e787

Browse files
Apply suggestions from code review
Co-Authored-By: theotherjimmy <[email protected]>
1 parent 63ea3eb commit 583e787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build_release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from optparse import OptionParser
2121
import json
2222
from shutil import copy
23-
from past.builtins import str
23+
from past.builtins import basestring
2424

2525
# Be sure that the tools directory is in the search path
2626
ROOT = abspath(join(dirname(__file__), ".."))
@@ -111,7 +111,7 @@
111111
test_names = []
112112
for test_id in list(TEST_MAP.keys()):
113113
# Prevents tests with multiple source dirs from being checked
114-
if isinstance(TEST_MAP[test_id].source_dir, str):
114+
if isinstance(TEST_MAP[test_id].source_dir, basestring):
115115
test_path = normpath(TEST_MAP[test_id].source_dir)
116116
for directory in directories:
117117
if directory in test_path:

0 commit comments

Comments
 (0)