forked from goodboy/tractor
1
0
Fork 0

Go back to original longlist code

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-11 17:16:59 -04:00
parent 8559ad69f3
commit d0074291a1
1 changed files with 8 additions and 8 deletions

View File

@ -714,13 +714,13 @@ def shield_sigint(
# XXX: lol, see ``pdbpp`` issue: # XXX: lol, see ``pdbpp`` issue:
# https://github.com/pdbpp/pdbpp/issues/496 # https://github.com/pdbpp/pdbpp/issues/496
# pdb_obj.lastcmd = 'longlist' # pdb_obj.lastcmd = 'longlist'
if sys.version_info >= (3, 10): # if sys.version_info >= (3, 10):
pass # pass
# print('--KeyboardInterrupt--') # # print('--KeyboardInterrupt--')
# pdb_obj.do_longlist(None) # # pdb_obj.do_longlist(None)
# pdb_obj._printlonglist(False) # # pdb_obj._printlonglist(False)
else: # else:
pdb_obj.do_longlist(None) pdb_obj.do_longlist(None)
print(pdb_obj.prompt, end='', flush=True) print(pdb_obj.prompt, end='', flush=True)