mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-03 22:23:38 +02:00
- do not fail on empty service parameter values
This commit is contained in:
@@ -233,7 +233,9 @@ class Serviceinfo:
|
||||
try:
|
||||
for param in service.findall('param'):
|
||||
option = param.get('name', None)
|
||||
value = param.text
|
||||
value = ""
|
||||
if param.text:
|
||||
value = param.text
|
||||
name += " --" + option + " '" + value + "'"
|
||||
data['command'] = name
|
||||
self.services.append(data)
|
||||
|
Reference in New Issue
Block a user