Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 15, 2024
1 parent 0f870d8 commit cb8a42d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meta_package_manager/managers/eopkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ def search(self, query: str, extended: bool, exact: bool) -> Iterator[Package]:
firefox-dbginfo - Debug symbols for firefox
"""
# Extended search is the default behavior.
args = []
arg = ""
# Non-extended search restrict matching to package name only.
if not extended:
args = ("--name",)
arg = "--name"

output = self.run_cli("search", args, query)
output = self.run_cli("search", arg, query)

regexp = re.compile(r"^(?P<package_id>\S+)\s+- (?P<description>\.+)$")

Expand Down

0 comments on commit cb8a42d

Please sign in to comment.