Missed the conversion specifier in the message definition

Bug #1183734 reported by Ying Chun Guo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Mukul Patel

Bug Description

Hi,

The conversion specifier in below message after string varaible "rule_id" is missed.
It will cause an error reported during translation:
"Error: The expression '%(rule_id) i' is not present in the translation."

#: quantum/plugins/midonet/midonet_lib.py:278
#, python-format
msgid ""
"RuleManager.create_for_sg_rule: adding accept rule %(rule_id) in portgroup "
"%(port_group_id)s"
msgstr ""
"RuleManager.create_for_sg_rule: aggiunta regola di accettazione %(rule_id) "
"nel gruppo di porte %(port_group_id)s"

Please fix it.
Thanks.
Daisy

Tags: midonet
Mukul Patel (mukul18)
Changed in quantum:
assignee: nobody → Mukul Patel (mukul18)
Mukul Patel (mukul18)
Changed in quantum:
status: New → Incomplete
status: Incomplete → In Progress
Changed in quantum:
importance: Undecided → Medium
milestone: none → havana-1
tags: added: midonet
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/30477
Committed: http://github.com/openstack/quantum/commit/1c1ef911c13be19c33e3de662618a8eccd61af86
Submitter: Jenkins
Branch: master

commit 1c1ef911c13be19c33e3de662618a8eccd61af86
Author: Mukul <email address hidden>
Date: Fri May 24 23:32:12 2013 +0530

    Added conversion specifier for proper log

    In function create_for_sg_rule conversion specifier after string varaible
    "rule_id" was missed. It was causing an error during translation of debug
    message due to unavailability of conversion specifier. Included proper
    conversion specifier for getting proper debug log.

    Fixes: bug #1183734

    Change-Id: I0342a091fb8199273c1bb9af59c42c0e09c39349

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-1 → 2013.2
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.