mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 18:26:15 +01:00
allow commit when files are in upload state on server without local
modifications. (#494370)
This commit is contained in:
parent
299b969324
commit
609e8f97b1
@ -736,7 +736,7 @@ class Package:
|
||||
self.todo_delete.append(filename)
|
||||
print statfrmt('Deleting', os.path.join(pathn, filename))
|
||||
|
||||
if not self.todo_send and not self.todo_delete:
|
||||
if not self.todo_send and not self.todo_delete and not self.rev == "upload":
|
||||
print 'nothing to do for package %s' % self.name
|
||||
return 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user