summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/formatters
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/formatters')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py b/lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py
index 33a45e9c93d..75a8d6cfc65 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py
@@ -92,7 +92,7 @@ def __lldb_init_module(debugger, dict):
debugger.CreateCategory("JASSynth").AddTypeSynthetic(
lldb.SBTypeNameSpecifier("JustAStruct"),
lldb.SBTypeSynthetic.CreateWithClassName("synth.jasSynthProvider"))
- cat = lldb.debugger.CreateCategory("CCCSynth")
+ cat = debugger.CreateCategory("CCCSynth")
cat.AddTypeSynthetic(
lldb.SBTypeNameSpecifier("CCC"),
lldb.SBTypeSynthetic.CreateWithClassName("synth.CCCSynthProvider",
OpenPOWER on IntegriCloud