← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1618881] Re: Exception raised has double full stop

 

Reviewed:  https://review.openstack.org/363641
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=29273adaf9c31fa22e4580c5af6eb9469290d38c
Submitter: Jenkins
Branch:    master

commit 29273adaf9c31fa22e4580c5af6eb9469290d38c
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date:   Wed Aug 31 06:06:43 2016 -0700

    Fix InvalidInput exception output
    
    Ensure that only one period ends the data. The exception adds the
    period so no need to pass the error_message with a period.
    
    TrivialFix
    
    Change-Id: I411534fc7ea56946a72890808154cc43ba3b6c1d
    Closes-bug: #1618881


** 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/1618881

Title:
  Exception raised has double full stop

Status in neutron:
  Fix Released

Bug description:
  An example:

  Invalid input for operation: Exceeded maximum amount of fixed ips per
  port..

  Reason - neutron lib exception has a full stop:

  class InvalidInput(BadRequest):
      """A bad request due to invalid input.
      A specialization of the BadRequest error indicating bad input was
      specified.
      :param error_message: Details on the operation that failed due to bad
      input.
      """
      message = _("Invalid input for operation: %(error_message)s.")

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


References