mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-21 15:21:09 +00:00
Display the binary package depended on, when searching by source package
This commit is contained in:
parent
fae3d8db54
commit
6ac3640c95
@ -119,11 +119,14 @@ def display_verbose(data):
|
||||
print '=' * len(field)
|
||||
rdeps.sort(key=lambda x: x['Package'])
|
||||
for rdep in rdeps:
|
||||
line = '* %s' % rdep['Package']
|
||||
if all_archs and set(rdep['Architectures']) != all_archs:
|
||||
print '* %s [%s]' % (rdep['Package'],
|
||||
', '.join(sorted(rdep['Architectures'])))
|
||||
else:
|
||||
print '* %s' % rdep['Package']
|
||||
line += ' [%s]' % ' '.join(sorted(rdep['Architectures']))
|
||||
if 'Dependency' in rdep:
|
||||
if len(line) < 30:
|
||||
line += ' ' * (30 - len(line))
|
||||
line += ' (for %s)' % rdep['Dependency']
|
||||
print line
|
||||
print
|
||||
|
||||
if all_archs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user