Skip to content

Commit 277e7f7

Browse files
committed
fix pylint warnings
Signed-off-by: Songmin Li <lisongmin@protonmail.com>
1 parent b410fe1 commit 277e7f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

podman_compose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,12 +3212,12 @@ class PullImage:
32123212

32133213
def __post_init__(self) -> None:
32143214
if self.policy not in self.POLICY_PRIORITY:
3215-
log.debug(f"Pull policy {self.policy} is not valid, using 'missing' instead")
3215+
log.debug("Pull policy %s is not valid, using 'missing' instead", self.policy)
32163216
self.policy = "missing"
32173217

32183218
def update_policy(self, new_policy: str) -> None:
32193219
if new_policy not in self.POLICY_PRIORITY:
3220-
log.debug(f"Pull policy {new_policy} is not valid, ignoring it")
3220+
log.debug("Pull policy %s is not valid, ignoring it", new_policy)
32213221
return
32223222

32233223
if self.POLICY_PRIORITY[new_policy] > self.POLICY_PRIORITY[self.policy]:

0 commit comments

Comments
 (0)