summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-02-06 20:49:45 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-02-06 20:49:45 (GMT)
commitbc27a050a7bef228c5e125c4de938faef56533fd (patch)
tree6030a0c845f8cbc7d92abfbb3a303c82ed6d8173 /Lib/distutils/command
parent5e028ae09e3181a1bebc402a9a414b8a79845090 (diff)
downloadcpython-bc27a050a7bef228c5e125c4de938faef56533fd.zip
cpython-bc27a050a7bef228c5e125c4de938faef56533fd.tar.gz
cpython-bc27a050a7bef228c5e125c4de938faef56533fd.tar.bz2
Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/register.py b/Lib/distutils/command/register.py
index 55656c2..b49f86f 100644
--- a/Lib/distutils/command/register.py
+++ b/Lib/distutils/command/register.py
@@ -300,5 +300,5 @@ Your selection [default 1]: ''', log.INFO)
result = 200, 'OK'
if self.show_response:
dashes = '-' * 75
- self.announce('%s%s%s' % (dashes, data, dashes))
+ self.announce('%s%r%s' % (dashes, data, dashes))
return result