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 committed Dec 19, 2019
1 parent 067c5ae commit f9524f9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mixology/version_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,8 @@ 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
)
)
logger.info("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 f9524f9

Please sign in to comment.