From a828b0be2e07de665226d4b636c081d5949ddfc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 7 Jan 2011 21:30:41 +0100 Subject: [PATCH] do not remove service files on commit, we only remove them on an update now --- osc/core.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/osc/core.py b/osc/core.py index 664ffdd7..81329202 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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):