mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 18:26:15 +01:00
release is optional (doesn't exist on debian)
This commit is contained in:
parent
1be2163733
commit
252e2a3e63
@ -92,9 +92,9 @@ class Buildinfo:
|
|||||||
p_version = node.get('version')
|
p_version = node.get('version')
|
||||||
p_release = node.get('release')
|
p_release = node.get('release')
|
||||||
|
|
||||||
if not (p_name and p_arch and p_version and p_release):
|
if not (p_name and p_arch and p_version):
|
||||||
raise oscerr.APIError(
|
raise oscerr.APIError(
|
||||||
"buildinfo for package %s/%s/%s/%s is incomplete" % (p_name, p_arch, p_version, p_release))
|
"buildinfo for package %s/%s/%s is incomplete" % (p_name, p_arch, p_version))
|
||||||
|
|
||||||
p = Pac(p_name,
|
p = Pac(p_name,
|
||||||
p_version,
|
p_version,
|
||||||
|
Loading…
Reference in New Issue
Block a user