← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546832] Re: Typo error of wrong msg format in _registry_notify of SecurityGroupDbMixin

 

Reviewed:  https://review.openstack.org/280553
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=484e6557347d55dfdcb58567be28ea31e9c13ff0
Submitter: Jenkins
Branch:    master

commit 484e6557347d55dfdcb58567be28ea31e9c13ff0
Author: Yalei Wang <yalei.wang@xxxxxxxxx>
Date:   Tue Feb 16 08:49:36 2016 +0000

    Fix typo error for wrong msg format when CallbackFailure
    
    Closes-bug: #1546832
    Change-Id: I3ef54d79ff620afba928e35b14a68da563049923


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1546832

Title:
  Typo error of wrong msg format in _registry_notify of
  SecurityGroupDbMixin

Status in neutron:
  Fix Released

Bug description:
  output is like:

  Error (u'cannot perform %(event)s due to %(reason)s', {'reason':
  CallbackFailure(), 'event': 'precommit_create'}) while attempting the
  operation.

  because args are not parsed decently.

  original
                  reason = _('cannot perform %(event)s due to %(reason)s'), {
                             'event': event, 'reason': e}

  should be

                  reason = _('cannot perform %(event)s due to %(reason)s') % {
                             'event': event, 'reason': e}

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


References