format/v1: remove now unused get_ids function
This was only used in a test utility method. Its use was replaced and thus it is now longer needed.
This commit is contained in:
parent
427266c583
commit
5d22a672b4
1 changed files with 1 additions and 7 deletions
|
|
@ -7,7 +7,7 @@ the created tree into an artefact. The pipeline can have any
|
|||
number of nested build pipelines. A sources section is used
|
||||
to fetch resources.
|
||||
"""
|
||||
from typing import Dict, Optional, Tuple
|
||||
from typing import Dict
|
||||
from osbuild.meta import Index, ValidationResult
|
||||
from ..pipeline import Manifest, Pipeline, detect_host_runner
|
||||
|
||||
|
|
@ -192,12 +192,6 @@ def load(description: Dict, index: Index) -> Manifest:
|
|||
return manifest
|
||||
|
||||
|
||||
def get_ids(manifest: Manifest) -> Tuple[Optional[str], Optional[str]]:
|
||||
pipeline = manifest["tree"]
|
||||
assembler = manifest.get("assembler")
|
||||
return pipeline.id, assembler and assembler.id
|
||||
|
||||
|
||||
def output(manifest: Manifest, res: Dict) -> Dict:
|
||||
"""Convert a result into the v1 format"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue