1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

Consider the "realname" config option in apiurl sections

This is a follow up fix for commit ef13d67 ("Export a real name
for vc to consume").
This commit is contained in:
Marcus Huewe 2018-08-17 22:09:51 +02:00
parent 6233f8bf0b
commit 820c3adc71

View File

@ -976,7 +976,7 @@ def get_config(override_conffile=None,
'pass': password,
'http_headers': http_headers}
optional = ('email', 'sslcertck', 'cafile', 'capath')
optional = ('realname', 'email', 'sslcertck', 'cafile', 'capath')
for key in optional:
if cp.has_option(url, key):
if key == 'sslcertck':