Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
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 @@
             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