equal
deleted
inserted
replaced
54 # if IPython doesn't exist, fallback to code.interact |
54 # if IPython doesn't exist, fallback to code.interact |
55 try: |
55 try: |
56 with demandimport.deactivated(): |
56 with demandimport.deactivated(): |
57 __import__(pdbmap[debugger]) |
57 __import__(pdbmap[debugger]) |
58 except ImportError: |
58 except ImportError: |
59 ui.warn( |
59 ui.warnnoi18n( |
60 b"%s debugger specified but %s module was not found\n" |
60 b"%s debugger specified but %s module was not found\n" |
61 % (debugger, pdbmap[debugger]) |
61 % (debugger, pdbmap[debugger]) |
62 ) |
62 ) |
63 debugger = b'pdb' |
63 debugger = b'pdb' |
64 |
64 |