diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-01-12 09:49:55 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-01-13 13:31:29 -0800 |
commit | 6180992d4939f931aaeae74138dae069a60a3485 (patch) | |
tree | 77046603f2c2b3bf6290f456991759c9f2dc99e2 | |
parent | a4e1be4e5b2430ec5ef2e88a9b90de07199f8e14 (diff) | |
download | meson-6180992d4939f931aaeae74138dae069a60a3485.zip meson-6180992d4939f931aaeae74138dae069a60a3485.tar.gz meson-6180992d4939f931aaeae74138dae069a60a3485.tar.bz2 |
minstall: fix imports
This uses PEP8 style, one per from `import mod`, but with commas from
`from mod import a, b`. Also run sort, for niceness.
-rw-r--r-- | mesonbuild/minstall.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py index 153ac34..4d40752 100644 --- a/mesonbuild/minstall.py +++ b/mesonbuild/minstall.py @@ -12,19 +12,23 @@ # See the License for the specific language governing permissions and # limitations under the License. -import sys, pickle, os, shutil, subprocess, errno -import argparse -import shlex from glob import glob from pathlib import Path +import argparse +import errno +import os +import pickle +import shlex +import shutil +import subprocess +import sys from . import environment -from .scripts import depfixer -from .scripts import destdir_join -from .mesonlib import is_windows, Popen_safe from .backend.backends import InstallData from .coredata import major_versions_differ, MesonVersionMismatchException from .coredata import version as coredata_version +from .mesonlib import is_windows, Popen_safe +from .scripts import depfixer, destdir_join try: from __main__ import __file__ as main_file except ImportError: |