Skip to content

Commit

Permalink
Fix logging of total time and attempted_solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Dec 19, 2019
1 parent 067c5ae commit 7b108cd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mixology/version_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,10 @@ def solve(self): # type: () -> SolverResult

i += 1

logger.info("Version solving took {:.3f} seconds.\n")
logger.info(
"Tried {} solutions.".format(
time.time() - start, self._solution.attempted_solutions
)
"Version solving took {:.3f} seconds.".format(time.time() - start)
)
logger.info("Tried {} solutions.".format(self._solution.attempted_solutions))

return SolverResult(
self._solution.decisions, self._solution.attempted_solutions
Expand Down

0 comments on commit 7b108cd

Please sign in to comment.