Skip to content

Add imports of basestring for python 3 #9964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/build_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from optparse import OptionParser
import json
from shutil import copy
from past.builtins import basestring

# Be sure that the tools directory is in the search path
ROOT = abspath(join(dirname(__file__), ".."))
Expand Down
1 change: 1 addition & 0 deletions tools/export/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import copy
from shutil import rmtree, copyfile
import zipfile
from past.builtins import basestring

from ..resources import Resources, FileType, FileRef
from ..config import ALLOWED_FEATURES
Expand Down
2 changes: 1 addition & 1 deletion tools/targets/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from copy import copy
from yaml import dump_all
import argparse
from past.builtins import basestring

from tools.targets import Target, set_targets_json_location, TARGET_MAP

Expand Down Expand Up @@ -274,4 +275,3 @@ def main():

if __name__ == "__main__":
sys.exit(main())