builder: break list comprehension over two lines
Small syntactic change to make it easier to read.
This commit is contained in:
parent
cedb982593
commit
0d9dc2b72d
1 changed files with 3 additions and 1 deletions
|
|
@ -144,7 +144,9 @@ class ComposeStatus:
|
|||
def from_dict(cls, data: Dict):
|
||||
status = data["status"].lower()
|
||||
koji_task_id = data["koji_task_id"]
|
||||
images = [ImageStatus(s["status"].lower()) for s in data["image_statuses"]]
|
||||
images = [
|
||||
ImageStatus(s["status"].lower()) for s in data["image_statuses"]
|
||||
]
|
||||
return cls(status, images, koji_task_id)
|
||||
|
||||
def as_dict(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue