[Buildroot] [git commit branch/2020.02.x] utils: fix flake8 warning

Peter Korsgaard peter at korsgaard.com
Thu Jan 28 16:44:28 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=43d6e6036a7d4f2760220fedc3e4cd009a6bfddc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

Commit 40bb37bd70d refactored get-developers, and now the 'os' module is
no longer needed, but still imported:

    utils/get-developers:6:1: F401 'os' imported but unused
    1     F401 'os' imported but unused

Drop it now.

Reported-by: Arnout Vandecappelle <arnout at mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 9277978e28479449e517152105ae2e8a6d03151a)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 utils/get-developers | 1 -
 1 file changed, 1 deletion(-)

diff --git a/utils/get-developers b/utils/get-developers
index e027c26562..9182b2d85f 100755
--- a/utils/get-developers
+++ b/utils/get-developers
@@ -3,7 +3,6 @@
 import argparse
 import getdeveloperlib
 import sys
-import os
 
 
 def parse_args():


More information about the buildroot mailing list