1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-11 13:29:19 +01:00

Merge pull request #1589 from dmach/pmbs-build-failures

Fix PMBS build failures
This commit is contained in:
Daniel Mach 2024-06-28 10:40:53 +02:00 committed by GitHub
commit 682a7c4e2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -732,7 +732,7 @@ def create_build_descr_data(
result_data.append((b"_service", f.read()))
if not result_data and not prefer_pkgs:
return None, None
return None, {}
cpio_data = cpio.CpioWrite()
for key, value in result_data:

View File

@ -4,7 +4,7 @@ from ..util.models import * # pylint: disable=wildcard-import,unused-wildcard-i
class KeyinfoSslcert(XmlModel):
XML_TAG = "sslcert"
keyid: str = Field(
keyid: Optional[str] = Field(
xml_attribute=True,
)
@ -36,7 +36,7 @@ class KeyinfoSslcert(XmlModel):
xml_attribute=True,
)
fingerprint: str = Field(
fingerprint: Optional[str] = Field(
xml_attribute=True,
)