mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
do not remove service files on commit, we only remove them on an update now
This commit is contained in:
parent
122679fb67
commit
a828b0be2e
@ -1298,11 +1298,6 @@ class Package:
|
||||
self.write_addlist()
|
||||
self.update_datastructs()
|
||||
|
||||
if self.filenamelist.count('_service'):
|
||||
print 'The package contains a source service.'
|
||||
for filename in self.todo:
|
||||
if filename.startswith('_service:') and os.path.exists(filename):
|
||||
os.unlink(filename) # remove local files
|
||||
print_request_list(self.apiurl, self.prjname, self.name)
|
||||
|
||||
def __write_storelist(self, name, data):
|
||||
|
Loading…
Reference in New Issue
Block a user