summaryrefslogtreecommitdiffstats
path: root/Lib/bdb.py
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 /Lib/bdb.py
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.
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r--Lib/bdb.py6
1 files changed, 3 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,)