1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

display source packgae name when searching for binaries

This commit is contained in:
Ludwig Nussel 2012-07-03 14:16:15 +02:00
parent bd9d628ccc
commit a0cad9f88d

View File

@ -6159,7 +6159,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if project is None:
project = node.get('name')
else:
package = node.get('name')
if kind == 'published/binary/id':
package = node.get('package')
else:
package = node.get('name')
result.append(project)
if not package is None:
result.append(package)