i18n is broken in processutils

Bug #1215006 reported by ZhiQiang Fan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Low
ZhiQiang Fan

Bug Description

https://github.com/openstack/oslo-incubator/blob/master/openstack/common/processutils.py#L58
description = "Unexpected error while running command."
https://github.com/openstack/oslo-incubator/blob/master/openstack/common/processutils.py#L61
message = ("%s\nCommand: %s\nExit code: %s\nStdout: %r\nStderr: %r"

some other modules have same problem too

ZhiQiang Fan (aji-zqfan)
Changed in oslo:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
Ben Nemec (bnemec)
Changed in oslo:
status: New → Confirmed
importance: Undecided → Low
ZhiQiang Fan (aji-zqfan)
summary: - missing gettext in common/processutils.py
+ missing gettext in some modules
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

Fix proposed to branch: master
Review: https://review.openstack.org/43355

Changed in oslo:
status: Confirmed → In Progress
ZhiQiang Fan (aji-zqfan)
summary: - missing gettext in some modules
+ i18n is broken in processutils
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/43355
Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=f773ea298cd9f322023b91247e688726cf674cd5
Submitter: Jenkins
Branch: master

commit f773ea298cd9f322023b91247e688726cf674cd5
Author: ZhiQiang Fan <email address hidden>
Date: Thu Aug 22 22:24:23 2013 +0800

    Fix i18n problem in processutils module

    Some texts in processutils module use raw string instead of gettext,
    they should be fixed since this module already supports i18n.

    Change-Id: I6868301f076d4b9b6e604238bacce6207bbce2ab
    Closes-Bug: #1215006

Changed in oslo:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in oslo:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in oslo:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.