From 57ede1728ce7a5faf77bfc280c000682c740ab73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 23 Feb 2024 12:46:44 +0100 Subject: [PATCH] Refactor var name for readability --- src/pip_deepfreeze/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pip_deepfreeze/sync.py b/src/pip_deepfreeze/sync.py index 5d81096..a0213f4 100644 --- a/src/pip_deepfreeze/sync.py +++ b/src/pip_deepfreeze/sync.py @@ -73,8 +73,8 @@ def sync( python, project_root, extras ) for extra, frozen_reqs in frozen_reqs_by_extra.items(): - requirements_frozen_path = make_frozen_requirements_path(project_root, extra) - with open_with_rollback(requirements_frozen_path) as f: + frozen_requirements_path = make_frozen_requirements_path(project_root, extra) + with open_with_rollback(frozen_requirements_path) as f: print("# frozen requirements generated by pip-deepfreeze", file=f) # output pip options in main requirements only if not extra and constraints_path.exists():