Skip to content

Commit 5de2b1a

Browse files
committed
Fix linting issue
1 parent 2c261c3 commit 5de2b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/resolution/resolvelib/factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ def _report_single_requirement_conflict(
708708
"using the '-r' flag to install the packages listed in "
709709
"requirements.txt"
710710
)
711-
req = str(req).partition(';')[0].strip()
712-
return DistributionNotFound(f"No matching distribution found for {req}")
711+
req_str = str(req).partition(";")[0].strip()
712+
return DistributionNotFound(f"No matching distribution found for {req_str}")
713713

714714
def _has_any_candidates(self, project_name: str) -> bool:
715715
"""

0 commit comments

Comments
 (0)