mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
allow 3 symbols for package search
This commit is contained in:
parent
effc120a43
commit
afc488255c
@ -72,7 +72,7 @@ class Remote(LazyLogging):
|
|||||||
"""
|
"""
|
||||||
instance = cls()
|
instance = cls()
|
||||||
packages: Dict[str, AURPackage] = {}
|
packages: Dict[str, AURPackage] = {}
|
||||||
for term in filter(lambda word: len(word) > 3, keywords):
|
for term in filter(lambda word: len(word) >= 3, keywords):
|
||||||
portion = instance.search(term, pacman=pacman)
|
portion = instance.search(term, pacman=pacman)
|
||||||
packages = {
|
packages = {
|
||||||
package.name: package # not mistake to group them by name
|
package.name: package # not mistake to group them by name
|
||||||
|
Loading…
Reference in New Issue
Block a user