From b26aec9daa03a4f3da225e9e4f7a43e916928712 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Wed, 13 Jul 2022 18:14:44 +0100 Subject: [ci-skip][Feature #18910][lldb] New directory structure Push the newly refactored lldb files into a sub-directory so that we're not cluttering up the misc directory --- misc/lldb_cruby.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc/lldb_cruby.py') diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 6655d768ae..e30acffc40 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -15,7 +15,7 @@ import shlex import platform import glob -from constants import * +from lldb_rb.constants import * # BEGIN FUNCTION STYLE DECLS # This will be refactored to use class style decls in the misc/commands dir @@ -716,11 +716,11 @@ def rb_id2str(debugger, command, result, internal_dict): load_dir, _ = os.path.split(os.path.realpath(__file__)) -for fname in glob.glob(f"{load_dir}/commands/*_command.py"): +for fname in glob.glob(f"{load_dir}/lldb_rb/commands/*_command.py"): _, basename = os.path.split(fname) mname, _ = os.path.splitext(basename) - exec(f"import commands.{mname}") + exec(f"import lldb_rb.commands.{mname}") def __lldb_init_module(debugger, internal_dict): # Register all classes that subclass RbBaseCommand -- cgit v1.2.1