mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
fix service execution when _service file got not yet commited (but already added)
This commit is contained in:
parent
f8184165ed
commit
122679fb67
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user