fix(jsonlog): drop unnecessary list() wrapping (S7504) #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Claude/backup-script:fix/issue-36-S7504-jsonlog-list-call"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #36
Document why the
list(root.handlers)snapshot is load-bearing:removeHandler()mutates the live list mid-iteration, so the copy is required. SonarQube'spython:S7504finding is a false positive here; the comment makes the intent explicit so future readers (and tools) keep the snapshot.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.