← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1793446] Re: Avoid Forcing the Translation of Translatable Variables

 

** Changed in: nova
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1793446

Title:
  Avoid Forcing the Translation of Translatable Variables

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  For example, do not do this:

  # WRONG
  LOG.info(_LI('some message: exception=%s'), six.text_type(exc))

  Instead, use this style:

  # RIGHT
  LOG.info(_LI('some message: exception=%s'), exc)

  refer to:
  https://docs.openstack.org/oslo.i18n/latest/user/guidelines.html#avoid-forcing-the-translation-of-translatable-variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1793446/+subscriptions


References