]> granicus.if.org Git - python/commitdiff
Patch #1191700: Adjust column alignment in bdb breakpoint lists.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 15 Apr 2006 08:41:11 +0000 (08:41 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 15 Apr 2006 08:41:11 +0000 (08:41 +0000)
Backported to 2.4.

Lib/bdb.py
Misc/NEWS

index 8f808cc4eb715e639cd419f775e1a389c6cba103..08b48c39ce58c64cae0dcf41df10f0751c2a7c66 100644 (file)
@@ -479,10 +479,10 @@ class Breakpoint:
         else:
             disp = 'keep '
         if self.enabled:
-            disp = disp + 'yes'
+            disp = disp + 'yes  '
         else:
-            disp = disp + 'no '
-        print '%-4dbreakpoint    %s at %s:%d' % (self.number, disp,
+            disp = disp + 'no   '
+        print '%-4dbreakpoint   %s at %s:%d' % (self.number, disp,
                              self.file, self.line)
         if self.cond:
             print '\tstop only if %s' % (self.cond,)
index 22dbc9c06582bafb16b1b9f18b3c2ae8f130fb53..a17e21f2338e54964485638506a979c99942ef5e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -68,6 +68,8 @@ Extension Modules
 Library
 -------
 
+- Patch #1191700: Adjust column alignment in bdb breakpoint lists.
+
 - SimpleXMLRPCServer relied on the fcntl module, which is unavailable on
   Windows. Bug #1469163.