Skip to content

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Sep 12, 2025

Summary:

  • Updated the cleanup logic in the parse_logs function to use items() for iterating over file_mapping, improving readability.
  • Simplified the removal of duplicates from regular_files and the deletion of mapped_file when it is None.

These changes enhance code clarity and maintainability without altering the existing functionality.

Summary:
- Updated the cleanup logic in the `parse_logs` function to use `items()` for iterating over `file_mapping`, improving readability.
- Simplified the removal of duplicates from `regular_files` and the deletion of `mapped_file` when it is `None`.

These changes enhance code clarity and maintainability without altering the existing functionality.
@FindHao FindHao added the be Better Engineering label Sep 12, 2025
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 12, 2025
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D82337211.

@facebook-github-bot
Copy link
Contributor

@FindHao merged this pull request in 45c389f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
be Better Engineering CLA Signed This label is managed by the Meta Open Source bot. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants