Add imports of basestring for python 3

pull/9964/head
Brian Daniels 2019-03-06 09:33:02 -06:00
parent c37ac83e8e
commit 0105395be2
3 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ from os.path import join, abspath, dirname, normpath
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__), ".."))

View File

@ -24,6 +24,7 @@ from os import makedirs, walk
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

View File

@ -29,6 +29,7 @@ if __name__ == "__main__":
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
@ -274,4 +275,3 @@ def main():
if __name__ == "__main__":
sys.exit(main())