Rev 4091: (andrew) Fix trivial bug in workaround of pdb.post_mortem bug. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Sun Mar 8 23:53:17 GMT 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4091
revision-id: pqm at pqm.ubuntu.com-20090308235314-a20l1vl1t444ic57
parent: pqm at pqm.ubuntu.com-20090308222317-d1nw017gzfen1aqs
parent: andrew.bennetts at canonical.com-20090308231157-uad0ft3wtkmjkyul
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sun 2009-03-08 23:53:14 +0000
message:
  (andrew) Fix trivial bug in workaround of pdb.post_mortem bug.
modified:
  bzrlib/commands.py             bzr.py-20050309040720-d10f4714595cf8c3
    ------------------------------------------------------------
    revno: 4088.1.1
    revision-id: andrew.bennetts at canonical.com-20090308231157-uad0ft3wtkmjkyul
    parent: pqm at pqm.ubuntu.com-20090306214205-sa9k572tezp8s0a1
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: pdb-trivial-fix
    timestamp: Mon 2009-03-09 10:11:57 +1100
    message:
      Fix trivial bug in workaround of pdb.post_mortem.
    modified:
      bzrlib/commands.py             bzr.py-20050309040720-d10f4714595cf8c3
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py	2009-03-03 05:02:36 +0000
+++ b/bzrlib/commands.py	2009-03-08 23:11:57 +0000
@@ -943,7 +943,7 @@
                 p.setup(tb.tb_frame, tb)
                 # Point the debugger at the deepest frame of the stack
                 p.curindex = len(p.stack) - 1
-                p.curframe = p.stack[p.curindex]
+                p.curframe = p.stack[p.curindex][0]
                 # Start the pdb prompt.
                 p.print_stack_entry(p.stack[p.curindex])
                 p.execRcLines()




More information about the bazaar-commits mailing list