Skip to content

Commit

Permalink
upd(trigger.py): Change print to proper logging
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
  • Loading branch information
nuclearcat committed Feb 24, 2025
1 parent de736d5 commit 380aabb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def _run_trigger(self, build_config, force, timeout, trees):
branches = response.json()
latest = sorted(branches, key=lambda x: x['date'], reverse=True)[0]
tree = build_config.tree.name
print(f"NIPA Latest branch: {latest['branch']} Date: {latest['date']}"
f" Tree: {tree}")
self.log.info(f"NIPA Latest branch: {latest['branch']} Date: {latest['date']}"
f" Tree: {tree}")
build_config._branch = latest['branch']

head_commit = kernelci.build.get_branch_head(build_config)
Expand Down

0 comments on commit 380aabb

Please sign in to comment.