mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 18:46:17 +01:00
print a real content of linkinfo->project and package, not the same filelist twice
This commit is contained in:
parent
10bda9b4eb
commit
a4a179f1d9
@ -366,7 +366,8 @@ class Osc(cmdln.Cmdln):
|
||||
if opts.expand or opts.unexpand or not link_seen: break
|
||||
m = show_files_meta(conf.config['apiurl'], project, package)
|
||||
xml = ET.fromstring(''.join(m)).find('linkinfo')
|
||||
print "# -> %s %s" % (xml.get('project'), xml.get('package'))
|
||||
project, package = xml.get('project'), xml.get('package')
|
||||
print "# -> %s %s" % (project, package)
|
||||
opts.expand = True
|
||||
if fname and print_not_found:
|
||||
print 'file \'%s\' does not exist' % fname
|
||||
|
Loading…
Reference in New Issue
Block a user