Config generator doesn't support i18n messages

Bug #1408032 reported by Thomas Herve
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Davanum Srinivas (DIMS)

Bug Description

When trying to generate configuration with i18n help messages, an error is raised:

Using string formatting instead of add seems to fix the problem.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.config (master)

Fix proposed to branch: master

Changed in oslo.config:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: New → In Progress
Changed in oslo.config:
milestone: none → kilo-next
importance: Undecided → Medium
Changed in oslo.config:
milestone: 1.6.1 → next-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.config (master)

Submitter: Jenkins
Branch: master

commit ea815b3304c8561d06c203381f07a8d954d353a5
Author: Davanum Srinivas <email address hidden>
Date: Tue Jan 6 12:33:42 2015 -0500

    Support i18n messages in config generator

    if is i18n'ed then we land up in trouble since
    Message objects do not support addition and a TypeError
    gets thrown. So we just use a better way to construct
    the string to avoid the TypeError.

    Closes-Bug: #1408032
    Change-Id: If1feb65c6467f1c8176369f49d128c172c569c66

Changed in oslo.config:
status: In Progress → Fix Committed
Changed in oslo.config:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers