mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 13:14:15 +02:00
[gems.arch] refactoring: minor enhancement over PR#335
This commit is contained in:
@@ -146,9 +146,8 @@ def map_packages(names: Optional[Iterable[str]] = None, remote: bool = False, si
|
|||||||
|
|
||||||
if ignored:
|
if ignored:
|
||||||
for key in ('signed', 'not_signed'):
|
for key in ('signed', 'not_signed'):
|
||||||
to_del = set()
|
|
||||||
|
|
||||||
if pkgs.get(key):
|
if pkgs.get(key):
|
||||||
|
to_del = set()
|
||||||
for pkg in pkgs[key].keys():
|
for pkg in pkgs[key].keys():
|
||||||
if pkg in ignored:
|
if pkg in ignored:
|
||||||
to_del.add(pkg)
|
to_del.add(pkg)
|
||||||
|
|||||||
Reference in New Issue
Block a user