1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 21:28:42 +02:00

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

Fix PMBS build failures
This commit is contained in:
2024-06-28 10:40:53 +02:00
committed by GitHub
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,
)