mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-15 23:07:18 +01:00
Merge pull request #1589 from dmach/pmbs-build-failures
Fix PMBS build failures
This commit is contained in:
commit
682a7c4e2e
@ -732,7 +732,7 @@ def create_build_descr_data(
|
|||||||
result_data.append((b"_service", f.read()))
|
result_data.append((b"_service", f.read()))
|
||||||
|
|
||||||
if not result_data and not prefer_pkgs:
|
if not result_data and not prefer_pkgs:
|
||||||
return None, None
|
return None, {}
|
||||||
|
|
||||||
cpio_data = cpio.CpioWrite()
|
cpio_data = cpio.CpioWrite()
|
||||||
for key, value in result_data:
|
for key, value in result_data:
|
||||||
|
@ -4,7 +4,7 @@ from ..util.models import * # pylint: disable=wildcard-import,unused-wildcard-i
|
|||||||
class KeyinfoSslcert(XmlModel):
|
class KeyinfoSslcert(XmlModel):
|
||||||
XML_TAG = "sslcert"
|
XML_TAG = "sslcert"
|
||||||
|
|
||||||
keyid: str = Field(
|
keyid: Optional[str] = Field(
|
||||||
xml_attribute=True,
|
xml_attribute=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ class KeyinfoSslcert(XmlModel):
|
|||||||
xml_attribute=True,
|
xml_attribute=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
fingerprint: str = Field(
|
fingerprint: Optional[str] = Field(
|
||||||
xml_attribute=True,
|
xml_attribute=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user