aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-07-19 15:56:09 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-19 18:02:07 +0200
commit34363f0df1da4e69ae663fc43d7c8a1a980c0bb8 (patch)
treebbf6b43295bd261583a913bcdf7932024ef9ebf7 /support
parent910300950b72feeaec46f3c278f7b4170485f9f8 (diff)
downloadbuildroot-34363f0df1da4e69ae663fc43d7c8a1a980c0bb8.tar.gz
buildroot-34363f0df1da4e69ae663fc43d7c8a1a980c0bb8.tar.bz2
support/gen-manual-lists.py: remove unneeded arg in private function
No need to pass as argument to a function, members of the class it's in. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rw-r--r--support/scripts/gen-manual-lists.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/scripts/gen-manual-lists.py b/support/scripts/gen-manual-lists.py
index 69f4c7edbd..483b3847e0 100644
--- a/support/scripts/gen-manual-lists.py
+++ b/support/scripts/gen-manual-lists.py
@@ -384,7 +384,7 @@ class Buildroot:
return s
return None
- def _get_providers(config, symbol):
+ def _get_providers(symbol):
providers = list()
for sym in self.config:
if not sym.is_symbol():
@@ -404,7 +404,7 @@ class Buildroot:
+ " (w/ " + l + ")"
providers.append(l)
else:
- providers.extend(_get_providers(config,sym))
+ providers.extend(_get_providers(sym))
return providers
if what == "layout":
@@ -415,7 +415,7 @@ class Buildroot:
if what == "symbol":
pkg = re.sub(r"^BR2_PACKAGE_HAS_(.+)$", r"\1", symbol.get_name())
- providers = _get_providers(self.config, symbol)
+ providers = _get_providers(symbol)
return "| {0:<20} <| {1:<32} <| {2}\n".format(pkg.lower(),
'+' + symbol.get_name() + '+',