Skip to content

Commit

Permalink
Refactor var name for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Feb 23, 2024
1 parent 3f8367b commit 57ede17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pip_deepfreeze/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 57ede17

Please sign in to comment.