From ce847a38201eaf99d90af71522c4b492f4c78e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 30 Mar 2022 20:45:43 +0200 Subject: flake8: fix style issues to build_scripts/ Pick-to: 6.3 Change-Id: Ie56b054ca32869a488356b31eea49cc985fc463e Reviewed-by: Friedemann Kleint --- build_scripts/platforms/unix.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'build_scripts/platforms/unix.py') diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index 8a06b899b..0772cc625 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -37,17 +37,16 @@ ## ############################################################################# +import fnmatch import os import sys -import fnmatch -from .linux import prepare_standalone_package_linux -from .macos import prepare_standalone_package_macos from ..config import config from ..options import OPTION -from ..qtinfo import QtInfo from ..utils import copydir, copyfile, makefile from ..versions import PYSIDE, SHIBOKEN +from .linux import prepare_standalone_package_linux +from .macos import prepare_standalone_package_macos def _macos_copy_gui_executable(name, vars=None): @@ -70,7 +69,7 @@ def _unix_copy_gui_executable(name, vars=None): def _copy_gui_executable(name, vars=None): """Copy a GUI executable and return the files""" - if sys.platform == 'darwin': + if sys.platform == 'darwin': return _macos_copy_gui_executable(name, vars) return _unix_copy_gui_executable(name, vars) @@ -160,7 +159,6 @@ def prepare_packages_posix(self, vars): filter=[f"{PYSIDE}-lupdate"], recursive=False, vars=vars)) - lib_exec_filters = [] if not OPTION['NO_QT_TOOLS']: lib_exec_filters.extend(['uic', 'rcc', 'qmltyperegistrar']) -- cgit v1.2.3