diff --git a/ecommerce/extensions/iap/management/commands/sync_mobile_seats_price_and_expiry_with_web.py b/ecommerce/extensions/iap/management/commands/sync_mobile_seats_price_and_expiry_with_web.py index a3effec1e73..49e6f890f76 100644 --- a/ecommerce/extensions/iap/management/commands/sync_mobile_seats_price_and_expiry_with_web.py +++ b/ecommerce/extensions/iap/management/commands/sync_mobile_seats_price_and_expiry_with_web.py @@ -44,12 +44,11 @@ def handle(self, *args, **options): ).exclude(stockrecords__partner_sku__icontains="mobile").first() if not web_seat: - logger.info('While syncing could not find web seat for {}'.format(product.title) ) + logger.info('While syncing could not find web seat for %s', product.title) continue for mobile_seat in mobile_seats: - info = 'Syncing {} with {}'.format(mobile_seat.title, web_seat.title) - logger.info(info) + logger.info('Syncing %s with %s', mobile_seat.title, web_seat.title) stock_record = mobile_seat.stockrecords.all()[0] stock_record.price_excl_tax = web_seat.stockrecords.all()[0].price_excl_tax