Skip to content
Snippets Groups Projects
Unverified Commit f7c6fe99 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Fix startup voucher state logging

parent 055ede04
No related branches found
No related tags found
1 merge request!94Hard-code larger token count
...@@ -595,13 +595,13 @@ class PaymentController(object): ...@@ -595,13 +595,13 @@ class PaymentController(object):
for voucher in vouchers: for voucher in vouchers:
if voucher.state.should_start_redemption(): if voucher.state.should_start_redemption():
self._log.info( self._log.info(
"Controller found voucher ({}) at startup that needs redemption.", "Controller found voucher ({voucher}) at startup that needs redemption.",
voucher=voucher.number, voucher=voucher.number,
) )
self.redeem(voucher.number) self.redeem(voucher.number)
else: else:
self._log.info( self._log.info(
"Controller found voucher ({}) at startup that does not need redemption.", "Controller found voucher ({voucher}) at startup that does not need redemption.",
voucher=voucher.number, voucher=voucher.number,
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment