Skip to content

Commit

Permalink
Change to log-style argument passing.
Browse files Browse the repository at this point in the history
This updates an invocation of log.info() to use %-format style and
quells a Codacy complaint.
  • Loading branch information
plastikos committed Dec 12, 2023
1 parent 5163a39 commit 7c0a605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkinsapi/fingerprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def validate_for_build(self, filename: str, job: str, build: int) -> bool:
return True
if self._data["hash"] != self.id_:
log.info(
msg="File hash from Jenkins (%s) did not match local hash (%s)"
% (self._data["hash"], self.id_)
"File hash from Jenkins (%s) did not match local hash (%s)",
self._data["hash"], self.id_
)
return False
for usage_item in self._data["usage"]:
Expand Down

0 comments on commit 7c0a605

Please sign in to comment.