DepricationWarning message occurs in functional db testing

Bug #1566496 reported by John Perkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

The following warning is generated while running functional tests:

neutron/neutron/db/migration/alembic_migrations/versions/mitaka/expand/1df244e556f5_add_unique_ha_router_agent_port_bindings.py:44: DeprecationWarning: Using function/method 'instance.ugettext()' is deprecated: Builtin _ translation function is deprecated in OpenStack; use the function from
_i18n module for your project.

Revision history for this message
John Perkins (john-d-perkins-deactivatedaccount) wrote :

Just needed to add "from neutron._i18n import _" to that migration.

Changed in neutron:
assignee: nobody → John Perkins (john-d-perkins)
Revision history for this message
John Perkins (john-d-perkins-deactivatedaccount) wrote :

I must have been on an old branch, this was fixed here: https://github.com/openstack/neutron/commit/13fe6af8a2174e188cda9ffc5748df7c8b03d464

Changed in neutron:
status: New → Invalid
assignee: John Perkins (john-d-perkins) → nobody
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.