public.utils: remove unused variable arch
This commit is contained in:
parent
8486851f7e
commit
e33e845238
@ -48,7 +48,7 @@ def package_links(self):
|
||||
by_arch = defaultdict(list)
|
||||
for package in self.others:
|
||||
by_arch[package.arch].append(package)
|
||||
for arch, packages in by_arch.items():
|
||||
for _, packages in by_arch.items():
|
||||
if len(packages) == 1:
|
||||
yield packages[0]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user