diff options
| author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-05-17 03:42:16 -0400 |
|---|---|---|
| committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-05-17 03:42:16 -0400 |
| commit | 65b1d339310b2e8d7304d9b2f394bfb968b6c55b (patch) | |
| tree | 928e5bd34fcd03cedffb09fdb3f59ff12666577c | |
| parent | abd12b69eab4340eb5705a57e86ea254854cec24 (diff) | |
| download | meson-65b1d339310b2e8d7304d9b2f394bfb968b6c55b.tar.gz | |
Remove unused imports.
| -rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 | ||||
| -rw-r--r-- | mesonbuild/backend/vs2015backend.py | 1 | ||||
| -rw-r--r-- | mesonbuild/environment.py | 8 | ||||
| -rw-r--r-- | mesonbuild/scripts/dist.py | 3 | ||||
| -rwxr-xr-x | run_unittests.py | 5 |
5 files changed, 10 insertions, 9 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index de03db4f2..928e9bf05 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -21,7 +21,7 @@ from .. import dependencies from .. import compilers from ..compilers import CompilerArgs from ..mesonlib import File, MesonException, OrderedSet -from ..mesonlib import get_meson_script, get_compiler_for_source, Popen_safe +from ..mesonlib import get_meson_script, get_compiler_for_source from .backends import CleanTrees, InstallData from ..build import InvalidArguments import os, sys, pickle, re diff --git a/mesonbuild/backend/vs2015backend.py b/mesonbuild/backend/vs2015backend.py index b8e35044d..eb543ee87 100644 --- a/mesonbuild/backend/vs2015backend.py +++ b/mesonbuild/backend/vs2015backend.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from xml.etree import ElementTree as ET from .vs2010backend import Vs2010Backend diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 13bbe623e..c34b2e7b9 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -12,10 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import os, re, subprocess, platform -from . import coredata -from . import mesonlib -from . import mlog +import os +import platform +import re + from .compilers import * from .mesonlib import EnvironmentException, Popen_safe import configparser diff --git a/mesonbuild/scripts/dist.py b/mesonbuild/scripts/dist.py index ba6df7d08..4184a5bc7 100644 --- a/mesonbuild/scripts/dist.py +++ b/mesonbuild/scripts/dist.py @@ -13,9 +13,8 @@ # limitations under the License. -import os, sys +import os import shutil -import argparse import subprocess import pickle import hashlib diff --git a/run_unittests.py b/run_unittests.py index ec9d53b7f..b8e5ff927 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -18,7 +18,10 @@ import shlex import subprocess import re, json import tempfile -import unittest, os, sys, shutil, time +import os +import shutil +import sys +import unittest from glob import glob from pathlib import PurePath import mesonbuild.compilers |
