1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-12 02:04:04 +02:00

Merge pull request #1405 from adrianschroeter/fix

fix crash when settings like realname are not set.
This commit is contained in:
2023-09-13 14:27:00 +02:00
committed by GitHub

View File

@@ -8913,6 +8913,7 @@ def vc_export_env(apiurl: str, quiet=False):
for (tag, val) in tag2val.items(): for (tag, val) in tag2val.items():
for env in tag2envs[tag]: for env in tag2envs[tag]:
if val:
os.environ[env] = val os.environ[env] = val