From 122679fb67d55b5b399abc86b5ff3d3d0cdc1401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 7 Jan 2011 14:41:00 +0100 Subject: [PATCH] fix service execution when _service file got not yet commited (but already added) --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 09a3ed12..664ffdd7 100644 --- a/osc/core.py +++ b/osc/core.py @@ -2014,7 +2014,7 @@ rev: %s print 'At revision %s.' % self.rev def run_source_services(self): - if self.filenamelist.count('_service'): + if self.filenamelist.count('_service') or self.filenamelist_unvers.count('_service'): service = ET.parse(os.path.join(self.absdir, '_service')).getroot() si = Serviceinfo() si.read(service)