1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- fix crash on project only service files

This commit is contained in:
Adrian Schröter 2011-03-21 09:46:46 +01:00
parent 13633ab0e7
commit 5f5ae8e22d

View File

@ -219,7 +219,7 @@ class Serviceinfo:
"""
if serviceinfo_node == None:
return
if not append:
if not append or self.services == None:
self.services = []
services = serviceinfo_node.findall('service')