summaryrefslogtreecommitdiff
path: root/searx/plugins
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-03-09 08:34:43 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-03-09 09:28:13 +0100
commit50d5a9ff60e16324ffa68b9a37ca87a7de81c450 (patch)
tree635f15c92a84ce57d04a658a1688f58dadc6abfc /searx/plugins
parent3bea2e7e3a1ccd1feea50916b4a6f0e9963583c7 (diff)
downloadsearxng-50d5a9ff60e16324ffa68b9a37ca87a7de81c450.tar.gz
searxng-50d5a9ff60e16324ffa68b9a37ca87a7de81c450.zip
[fix] issues reported by pylint 3.1.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/plugins')
-rw-r--r--searx/plugins/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py
index 951ec9de3..41dd1a0ef 100644
--- a/searx/plugins/__init__.py
+++ b/searx/plugins/__init__.py
@@ -191,8 +191,7 @@ class PluginStore:
self.plugins: List[Plugin] = []
def __iter__(self):
- for plugin in self.plugins:
- yield plugin
+ yield from self.plugins
def register(self, plugin):
self.plugins.append(plugin)