mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix format of warnings from the packaging check command
This commit is contained in:
parent
78af7d8392
commit
8c86ecdab5
2 changed files with 12 additions and 1 deletions
|
@ -32,7 +32,7 @@ class check(Command):
|
|||
# XXX we could use a special handler for this, but would need to test
|
||||
# if it works even if the logger has a too high level
|
||||
self._warnings.append((msg, args))
|
||||
return logger.warning(self.get_command_name() + msg, *args)
|
||||
return logger.warning('%s: %s' % (self.get_command_name(), msg), *args)
|
||||
|
||||
def run(self):
|
||||
"""Runs the command."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue