From 04bc6f11ae0289aae57d63d4cd32f4ef305d1a7a Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 29 Jun 2023 20:49:26 -0400 Subject: Move binary view loading in to the core; deprecate open_view in favor of load; update examples --- python/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/settings.py') 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 -- cgit v1.3.1