mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-16 13:01:29 +00:00
binary-only promotions are still by source package, so look them up appropriately
This commit is contained in:
parent
2034272f1c
commit
afe4ce0a4c
@ -938,13 +938,11 @@ class Britney(object):
|
|||||||
f = open(filename, "w")
|
f = open(filename, "w")
|
||||||
|
|
||||||
sources = self.sources['testing']
|
sources = self.sources['testing']
|
||||||
binaries = self.binaries['testing']
|
|
||||||
for name in self.all_selected:
|
for name in self.all_selected:
|
||||||
if "/" in name:
|
if "/" in name:
|
||||||
pkg_name, arch = name.split('/', 1)
|
pkg_name, arch = name.split('/', 1)
|
||||||
if arch in binaries and pkg_name in binaries[arch][0]:
|
if pkg_name in sources:
|
||||||
f.write('%s %s\n' %
|
f.write('%s %s\n' % (name, sources[pkg_name][VERSION]))
|
||||||
(name, binaries[arch][0][pkg_name][VERSION]))
|
|
||||||
else:
|
else:
|
||||||
f.write('%s\n' % name)
|
f.write('%s\n' % name)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user