summaryrefslogtreecommitdiff
path: root/python/settings.py
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2023-06-29 20:49:26 -0400
committerKyleMiles <krm504@nyu.edu>2023-07-10 12:58:24 -0400
commit04bc6f11ae0289aae57d63d4cd32f4ef305d1a7a (patch)
tree46f06280b13fb80f2aebf0eea9b52f884e698d0c /python/settings.py
parent7598688466960427890036590239565364310171 (diff)
Move binary view loading in to the core; deprecate open_view in favor of load; update examples
Diffstat (limited to 'python/settings.py')
-rw-r--r--python/settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/settings.py b/python/settings.py
index 03f55845..fee8a755 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -97,7 +97,7 @@ class Settings:
True
>>> my_settings.register_setting("myPlugin.enablePreAnalysis", properties)
True
- >>> my_bv = open_view("/bin/ls", options={'myPlugin.enablePreAnalysis' : True})
+ >>> my_bv = load("/bin/ls", options={'myPlugin.enablePreAnalysis' : True})
>>> Settings().get_bool("myPlugin.enablePreAnalysis")
False
>>> Settings().get_bool("myPlugin.enablePreAnalysis", my_bv)
@@ -113,7 +113,7 @@ class Settings:
True
>>> my_settings.register_setting("myPlugin.enableTableView", properties)
True
- >>> my_bv = open_view("/bin/ls", options={'myPlugin.enableTableView' : True})
+ >>> my_bv = load("/bin/ls", options={'myPlugin.enableTableView' : True})
>>> Settings().get_bool("myPlugin.enableTableView")
True