mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 16:31:32 +00:00
suiteloader: Don't need to do an 'in' check when adding to a set
This commit is contained in:
parent
6bea01106f
commit
3988d700d3
@ -386,7 +386,6 @@ class DebMirrorLikeSuiteContentLoader(SuiteContentLoader):
|
|||||||
# source -> binary mapping once. It doesn't matter which
|
# source -> binary mapping once. It doesn't matter which
|
||||||
# of the versions we include as only the package name and
|
# of the versions we include as only the package name and
|
||||||
# architecture are recorded.
|
# architecture are recorded.
|
||||||
if pkg_id not in srcdist[source].binaries:
|
|
||||||
srcdist[source].binaries.add(pkg_id)
|
srcdist[source].binaries.add(pkg_id)
|
||||||
# if the source package doesn't exist, create a fake one
|
# if the source package doesn't exist, create a fake one
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user