Comment 1 for bug 1242820

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

It would be better to change the log call to

    msg = _('Image name "%s" does not exist, fetching it...')
    LOG.info(msg, image_name)

because that delays both the translation and the string interpolation until the log message is actually going to be emitted.