mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 16:56:15 +01:00
- do not fail on empty service parameter values
This commit is contained in:
parent
21ecbca6b3
commit
f80ce9c663
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user