Skip to content

Commit

Permalink
fix: properly convert beteween the two BuildInfo types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattculler committed Oct 17, 2024
1 parent cf69393 commit c7ac1af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,8 +1236,8 @@ def get_build_plan(self) -> list[BuildInfo]:
return [
BuildInfo(
platform=buildinfo.platform,
build_on=buildinfo.build_on,
build_for=buildinfo.build_for,
build_on=str(buildinfo.build_on),
build_for=str(buildinfo.build_for),
base=bases.BaseName(
name=buildinfo.build_base.distribution,
version=buildinfo.build_base.series,
Expand Down

0 comments on commit c7ac1af

Please sign in to comment.