Skip to content

Commit 05f49f6

Browse files
qchappCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent c062252 commit 05f49f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ai_agent/utils/temp_file_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ def cleanup_temp_files() -> None:
5252
if not _temp_files:
5353
return
5454

55-
log.info(f"Cleaning up {len(_temp_files)} temporary file(s)")
55+
log.info("Cleaning up %d temporary file(s)", len(_temp_files))
5656

5757
for path in _temp_files:
5858
try:
5959
if os.path.exists(path):
6060
os.remove(path)
61-
log.debug(f"Cleaned up temporary file: {path}")
61+
log.debug("Cleaned up temporary file: %s", path)
6262
except Exception as e:
63-
log.warning(f"Failed to clean up {path}: {e}")
63+
log.warning("Failed to clean up %s: %s", path, e)
6464

6565
_temp_files.clear()

0 commit comments

Comments
 (0)