]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #1191700: Adjust column alignment in bdb breakpoint lists.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 15 Apr 2006 08:40:53 +0000 (08:40 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 15 Apr 2006 08:40:53 +0000 (08:40 +0000)
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 c0fa641e65a3795acdfda6d68969aad308b93f77..f07bff7ab737fd984d68c1fabf32015b781371ab 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,6 +29,8 @@ Extension Modules
 Library
 -------
 
+- Patch #1191700: Adjust column alignment in bdb breakpoint lists.
+
 - The email module's parsedate_tz function now sets the daylight savings
   flag to -1 (unknown) since it can't tell from the date whether it should
   be set.