mirror of
https://github.com/vale981/melpazoid
synced 2025-03-05 09:21:39 -05:00
prefer breakpoint() over deprecated pdb.set_trace()
This commit is contained in:
parent
cd59072c2c
commit
299543a9ac
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ import functools
|
||||||
import json
|
import json
|
||||||
import operator
|
import operator
|
||||||
import os
|
import os
|
||||||
import pdb
|
|
||||||
import re
|
import re
|
||||||
import shlex
|
import shlex
|
||||||
import shutil
|
import shutil
|
||||||
|
@ -1000,7 +999,7 @@ def _check_loop() -> None:
|
||||||
else:
|
else:
|
||||||
_note(f'<!-- Finished in {time.perf_counter() - start:.2f}s -->')
|
_note(f'<!-- Finished in {time.perf_counter() - start:.2f}s -->')
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
pdb.set_trace() # pylint: disable=forgotten-debug-statement
|
breakpoint() # noqa: T100
|
||||||
|
|
||||||
|
|
||||||
def _fetch_targets() -> Iterator[str]:
|
def _fetch_targets() -> Iterator[str]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue