1
0
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:
Adrian Schröter 2009-04-14 14:33:02 +00:00
parent 299b969324
commit 609e8f97b1

View File

@ -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