* [Buildroot] [git commit branch/2022.08.x] utils/genrandconfig: fix flake8
@ 2022-09-29 13:56 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2022-09-29 13:56 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=6221ad98b086d8b6b61247e733f78fce972eb709
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.08.x
Commit af494d92d3d0 (utils/genrandconfig: disable libopenssl without
atomics) intorduced a code-style issue that flake8 does not like:
$ make check-flake8
utils/genrandconfig:253:8: E713 test for membership should be 'not in'
1 E713 test for membership should be 'not in'
Fixes: af494d92d3d0
https://gitlab.com/buildroot.org/buildroot/-/jobs/3045260108
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit fa538315dc02ad011edf6a2a9e25f8589100f15f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
utils/genrandconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/genrandconfig b/utils/genrandconfig
index efa73e938d..e43452d5b7 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -250,7 +250,7 @@ def fixup_config(sysinfo, configfile):
# libopenssl needs atomic, but propagating this dependency in
# Buildroot is really too much work, so we handle this here.
if 'BR2_PACKAGE_LIBOPENSSL=y\n' in configlines and \
- not 'BR2_TOOLCHAIN_HAS_ATOMIC=y\n' in configlines:
+ 'BR2_TOOLCHAIN_HAS_ATOMIC=y\n' not in configlines:
return False
if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines:
configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n')
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-29 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29 13:56 [Buildroot] [git commit branch/2022.08.x] utils/genrandconfig: fix flake8 Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.