mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 02:56:17 +01:00
- if the commit is interrupted always delete the upload rev
This commit is contained in:
parent
6a93a72635
commit
cf2b0c182f
@ -877,7 +877,7 @@ class Package:
|
||||
query['repairlink'] = '1'
|
||||
u = makeurl(self.apiurl, ['source', self.prjname, self.name], query=query)
|
||||
f = http_POST(u)
|
||||
except urllib2.HTTPError, e:
|
||||
except Exception, e:
|
||||
# delete upload revision
|
||||
try:
|
||||
query = { 'cmd': 'deleteuploadrev' }
|
||||
|
Loading…
Reference in New Issue
Block a user