We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226194a commit 74c506cCopy full SHA for 74c506c
frida_tools/repl.py
@@ -3,7 +3,6 @@
3
import hashlib
4
import json
5
import os
6
-import pathlib
7
import platform
8
import re
9
import shlex
@@ -43,7 +42,7 @@
43
42
JS_LANGUAGE = Language(tree_sitter_javascript.language())
44
ERROR_QUERY = Query(JS_LANGUAGE, "(_ (ERROR) @error)")
45
MISSING_QUERY = Query(JS_LANGUAGE, "(_ (MISSING) @missing)")
46
-except Exception as err:
+except Exception:
47
JS_LANGUAGE = None
48
ERROR_QUERY = None
49
MISSING_QUERY = None
@@ -69,7 +68,7 @@ def __init__(self) -> None:
69
68
70
try:
71
self._parser = Parser(JS_LANGUAGE)
72
- except Exception as err:
+ except Exception:
73
self._parser = None
74
75
if self._have_terminal and not self._plain_terminal:
0 commit comments