]> granicus.if.org Git - python/commitdiff
Fix softspace relic.
authorGeorg Brandl <georg@python.org>
Mon, 2 Aug 2010 12:40:22 +0000 (12:40 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 2 Aug 2010 12:40:22 +0000 (12:40 +0000)
Lib/trace.py

index 1a4b0dbc349a1b8131bc914ebad872d4dddf73de..7fffe8685c563c50d23c268781eba03d06a84483 100644 (file)
@@ -626,7 +626,7 @@ class Trace:
                 print('%.2f' % (time.time() - self.start_time), end=' ')
             bname = os.path.basename(filename)
             print("%s(%d): %s" % (bname, lineno,
-                                  linecache.getline(filename, lineno)), end=' ')
+                                  linecache.getline(filename, lineno)), end='')
         return self.localtrace
 
     def localtrace_trace(self, frame, why, arg):
@@ -639,7 +639,7 @@ class Trace:
                 print('%.2f' % (time.time() - self.start_time), end=' ')
             bname = os.path.basename(filename)
             print("%s(%d): %s" % (bname, lineno,
-                                  linecache.getline(filename, lineno)), end=' ')
+                                  linecache.getline(filename, lineno)), end='')
         return self.localtrace
 
     def localtrace_count(self, frame, why, arg):