mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 00:53:53 +00:00
scriptutils: fix style to be more PEP8 compliant
(From OE-Core rev: 61b346d6c309ebfef50c88260bf5a0650c74db16) Signed-off-by: Marius Kriegerowski <marius.kriegerowski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
73f9326d2a
commit
4cc94de992
@ -5,7 +5,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
import logging
|
||||
import os
|
||||
@ -78,7 +77,6 @@ def logger_setup_color(logger, color='auto'):
|
||||
|
||||
|
||||
def load_plugins(logger, plugins, pluginpath):
|
||||
|
||||
def load_plugin(name):
|
||||
logger.debug('Loading plugin %s' % name)
|
||||
spec = importlib.machinery.PathFinder.find_spec(name, path=[pluginpath])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user