Skip to content

Commit

Permalink
Log ending round state @ during resolver debug
Browse files Browse the repository at this point in the history
This change corrects a tiny-little mistake made in
9f318de that was causing the word
"state" to be printed out in the log instead of the value of the
`ending_round()`'s state` argument.
  • Loading branch information
webknjaz committed Jan 17, 2024
1 parent 5efa3e8 commit 3557550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/resolution/resolvelib/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def starting_round(self, index: int) -> None:
logger.info("Reporter.starting_round(%r)", index)

def ending_round(self, index: int, state: Any) -> None:
logger.info("Reporter.ending_round(%r, state)", index)
logger.info("Reporter.ending_round(%r, %r)", index, state)

def ending(self, state: Any) -> None:
logger.info("Reporter.ending(%r)", state)
Expand Down

0 comments on commit 3557550

Please sign in to comment.