1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

revert the part of 2e2deb3e that broke rev/cicount setting in linkpac

This commit is contained in:
Michael Schroeder 2012-01-25 15:51:11 +01:00
parent 2c9c719c9e
commit 9d9420e00b

View File

@ -4206,17 +4206,19 @@ def link_pac(src_project, src_package, dst_project, dst_package, force, rev='',
print >>sys.stderr, '_link file already exists...! Aborting'
sys.exit(1)
rev = ''
if rev:
rev = 'rev="%s"' % rev
else:
rev = ''
missingok = ''
if missing_target:
missingok = 'missingok="true"'
cicount = ''
if cicount:
cicount = 'cicount="%s"' % cicount
else:
cicount = ''
print 'Creating _link...',