mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 22:31:07 +00:00
Use lazy % formatting in logging functions
This commit is contained in:
parent
92c80d7bb7
commit
3bc802a209
@ -464,8 +464,10 @@ class PullPkg:
|
||||
|
||||
Logger.warning(
|
||||
"\nNOTICE: '%s' packaging is maintained in "
|
||||
"the '%s' version control system at:\n"
|
||||
" %s\n" % (package, vcs, uri)
|
||||
"the '%s' version control system at:\n %s\n",
|
||||
package,
|
||||
vcs,
|
||||
uri,
|
||||
)
|
||||
|
||||
if vcs == "Bazaar":
|
||||
@ -475,9 +477,9 @@ class PullPkg:
|
||||
|
||||
if vcscmd:
|
||||
Logger.info(
|
||||
f"Please use:\n{vcscmd}\n"
|
||||
"to retrieve the latest (possibly unreleased) "
|
||||
"updates to the package.\n"
|
||||
"Please use:\n%s\n"
|
||||
"to retrieve the latest (possibly unreleased) updates to the package.\n",
|
||||
vcscmd,
|
||||
)
|
||||
|
||||
if pull == PULL_LIST:
|
||||
|
Loading…
x
Reference in New Issue
Block a user