mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-23 09:43:06 +00:00
cli: add FaultError to default imports
It's not uncommon to need to catch FaultError in the CLI. Josef Bacik complained that he often forgets to import it when he needs it, so let's do it by default. Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
145ac798cb
commit
241afd5b62
@ -345,6 +345,7 @@ def run_interactive(
|
||||
"__doc__": None,
|
||||
}
|
||||
drgn_globals = [
|
||||
"FaultError",
|
||||
"NULL",
|
||||
"Object",
|
||||
"cast",
|
||||
|
Loading…
Reference in New Issue
Block a user