summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-15 08:41:11 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-15 08:41:11 (GMT)
commit4b501e6c7dd65ecb4a469a0fbc8a8fc8d62a7922 (patch)
tree77433ea02b19de3b866d25a75ef4483e0ebd6d1b
parent7e75f1aafba2e34ed5daef9e633684cf173f7a13 (diff)
downloadcpython-4b501e6c7dd65ecb4a469a0fbc8a8fc8d62a7922.zip
cpython-4b501e6c7dd65ecb4a469a0fbc8a8fc8d62a7922.tar.gz
cpython-4b501e6c7dd65ecb4a469a0fbc8a8fc8d62a7922.tar.bz2
Patch #1191700: Adjust column alignment in bdb breakpoint lists.
Backported to 2.4.
-rw-r--r--Lib/bdb.py6
-rw-r--r--Misc/NEWS2
2 files changed, 5 insertions, 3 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index 8f808cc..08b48c3 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -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,)
diff --git a/Misc/NEWS b/Misc/NEWS
index 22dbc9c..a17e21f 100644
--- 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.