mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-17 20:01:30 +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(
|
Logger.warning(
|
||||||
"\nNOTICE: '%s' packaging is maintained in "
|
"\nNOTICE: '%s' packaging is maintained in "
|
||||||
"the '%s' version control system at:\n"
|
"the '%s' version control system at:\n %s\n",
|
||||||
" %s\n" % (package, vcs, uri)
|
package,
|
||||||
|
vcs,
|
||||||
|
uri,
|
||||||
)
|
)
|
||||||
|
|
||||||
if vcs == "Bazaar":
|
if vcs == "Bazaar":
|
||||||
@ -475,9 +477,9 @@ class PullPkg:
|
|||||||
|
|
||||||
if vcscmd:
|
if vcscmd:
|
||||||
Logger.info(
|
Logger.info(
|
||||||
f"Please use:\n{vcscmd}\n"
|
"Please use:\n%s\n"
|
||||||
"to retrieve the latest (possibly unreleased) "
|
"to retrieve the latest (possibly unreleased) updates to the package.\n",
|
||||||
"updates to the package.\n"
|
vcscmd,
|
||||||
)
|
)
|
||||||
|
|
||||||
if pull == PULL_LIST:
|
if pull == PULL_LIST:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user