public.utils: remove unused variable arch

This commit is contained in:
Jelle van der Waa 2017-07-11 21:56:10 +02:00
parent 8486851f7e
commit e33e845238

View File

@ -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: