Skip to content

Fix for Empty except#36

Merged
RobertBlackhart merged 3 commits into
mainfrom
finding-autofix-cd6d8050
Apr 14, 2026
Merged

Fix for Empty except#36
RobertBlackhart merged 3 commits into
mainfrom
finding-autofix-cd6d8050

Conversation

@RobertBlackhart
Copy link
Copy Markdown
Collaborator

To fix this without changing functionality, keep catching CommandBackgrounded but document why it is intentionally ignored in this call site.

Best single change:

  • In recline/repl/shell.py, in _setup_repl(...), update the except CommandBackgrounded: block under if commands.START_COMMAND: so it includes an explanatory comment before pass.

No imports, new methods, or dependency changes are needed.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

RobertBlackhart and others added 2 commits April 13, 2026 23:50
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@RobertBlackhart
Copy link
Copy Markdown
Collaborator Author

@copilot fix line too long check

Agent-Logs-Url: https://github.com/NetApp/recline/sessions/e3a2ce38-ca0f-4e27-845f-8e4a1ba87a1e

Co-authored-by: RobertBlackhart <5414318+RobertBlackhart@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 14, 2026

@copilot fix line too long check

Fixed in 21ebcbb — removed the duplicate comment line and shortened the remaining comment so it fits within the line length limit.

@RobertBlackhart RobertBlackhart marked this pull request as ready for review April 14, 2026 03:58
@RobertBlackhart RobertBlackhart merged commit 18b1839 into main Apr 14, 2026
9 checks passed
@RobertBlackhart RobertBlackhart deleted the finding-autofix-cd6d8050 branch April 14, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants