forked from goodboy/tractor
1
0
Fork 0

Avoid attr error XD

sigint_ignore_in_pdb_repl
Tyler Goodlet 2022-02-16 13:07:21 -05:00
parent 61cc393a1a
commit 013e766a16
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ try:
except ImportError:
# pdbpp is installed in regular mode...it monkey patches stuff
import pdb
assert pdb.xpm, "pdbpp is not installed?" # type: ignore
xpm = getattr(pdb, 'xpm', None)
assert xpm, "pdbpp is not installed?" # type: ignore
pdbpp = pdb
log = get_logger(__name__)