mirror of https://github.com/ARMmbed/mbed-os.git
Cleanup get_config imports
parent
cac4cea6ae
commit
3617101154
|
@ -18,8 +18,7 @@ limitations under the License.
|
||||||
"""
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys
|
import sys
|
||||||
from os.path import isdir, abspath, dirname, join
|
from os.path import abspath, dirname, join
|
||||||
from os import _exit
|
|
||||||
|
|
||||||
# Be sure that the tools directory is in the search path
|
# Be sure that the tools directory is in the search path
|
||||||
ROOT = abspath(join(dirname(__file__), ".."))
|
ROOT = abspath(join(dirname(__file__), ".."))
|
||||||
|
@ -31,10 +30,6 @@ from tools.options import extract_mcus
|
||||||
from tools.build_api import get_config
|
from tools.build_api import get_config
|
||||||
from tools.config import Config
|
from tools.config import Config
|
||||||
from tools.utils import argparse_filestring_type
|
from tools.utils import argparse_filestring_type
|
||||||
try:
|
|
||||||
import tools.private_settings as ps
|
|
||||||
except:
|
|
||||||
ps = object()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# Parse Options
|
# Parse Options
|
||||||
|
|
Loading…
Reference in New Issue