]> granicus.if.org Git - python/commitdiff
Don't double-space the "??? new object ..." messages.
authorGuido van Rossum <guido@python.org>
Fri, 18 Apr 2003 19:51:10 +0000 (19:51 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 18 Apr 2003 19:51:10 +0000 (19:51 +0000)
Tools/scripts/combinerefs.py

index edd1a860a5d7092804f5e71a707d62485130fad9..5a9d0eaa4441f80ca91b1fe3cda1ffce3cd02791 100644 (file)
@@ -106,7 +106,7 @@ def combine(fname):
         assert m
         addr, rc, guts = m.groups() # guts is type name here
         if addr not in addr2rc:
-            print '??? new object created while tearing down:', line
+            print '??? new object created while tearing down:', line.rstrip()
             continue
         print addr,
         if rc == addr2rc[addr]: