Fix module complete: correct SrcCommand import path

Changed import from `.src` to `..src` since SrcCommand is in
tito/commands/src.py not tito/commands/module/src.py

This fixes the "No module named 'tito.commands.module.src'" error
when running `tito module complete`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vijay Janapa Reddi
2025-11-28 21:10:55 -05:00
parent ad0a0d503d
commit dab6ea215f

View File

@@ -768,7 +768,7 @@ class ModuleWorkflowCommand(BaseCommand):
"""Export module to the TinyTorch package."""
try:
# Use the new source command for exporting
from .src import SrcCommand
from ..src import SrcCommand
fake_args = Namespace()
fake_args.src_command = 'export' # Subcommand