1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- a slight simplification -- rev=upload is always okay.

This commit is contained in:
Dr. Peter Poeml 2008-04-02 12:54:26 +00:00
parent 5e5ca2e020
commit 6e5d41f481

View File

@ -726,10 +726,9 @@ class Package:
# all source files are committed - now comes the log
query = []
query.append('cmd=commit')
query.append('rev=upload')
if self.islink() and self.isexpanded():
query.append('keeplink=1')
else:
query.append('rev=upload')
query.append('user=%s' % conf.get_apiurl_usr(self.apiurl))
query.append('comment=%s' % quote_plus(msg))
u = makeurl(self.apiurl, ['source', self.prjname, self.name], query=query)