networking-onos pep8 failed due to unavailability of i18n.py

Bug #1572546 reported by Mohammad Shahid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-onos
Fix Released
Undecided
Mohammad Shahid

Bug Description

2016-04-19 15:54:00.791 | pep8 runtests: PYTHONHASHSEED='3071409165'
2016-04-19 15:54:00.791 | pep8 runtests: commands[0] | flake8
2016-04-19 15:54:00.791 | /home/jenkins/workspace/gate-networking-onos-pep8$ /home/jenkins/workspace/gate-networking-onos-pep8/.tox/pep8/bin/flake8
2016-04-19 15:54:01.471 | ./networking_onos/common/config.py:18:1: N341 _ from python builtins module is used. Use _ from networking_onos._i18n instead.
2016-04-19 15:54:01.471 | ONOS_DRIVER_OPTS = [
2016-04-19 15:54:01.471 | ^
2016-04-19 15:54:01.536 | ERROR: InvocationError: '/home/jenkins/workspace/gate-networking-onos-pep8/.tox/pep8/bin/flake8'
2016-04-19 15:54:01.536 | ___________________________________ summary ____________________________________
2016-04-19 15:54:01.536 | ERROR: pep8: commands failed
2016-04-19 15:54:01.548 | + rc=1
2016-04-19 15:54:01.548 | + '[' -e .tox/pep8/bin/pbr ']'

Changed in networking-onos:
assignee: nobody → Mohammad Shahid (mohammad-shahid1)
assignee: Mohammad Shahid (mohammad-shahid1) → nobody
status: New → Confirmed
assignee: nobody → Mohammad Shahid (mohammad-shahid1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-onos (master)

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

Changed in networking-onos:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-onos (master)

Reviewed: https://review.openstack.org/308745
Committed: https://git.openstack.org/cgit/openstack/networking-onos/commit/?id=5a798e79013f581827c73f037c583c9d17016449
Submitter: Jenkins
Branch: master

commit 5a798e79013f581827c73f037c583c9d17016449
Author: shdcse093 <email address hidden>
Date: Thu Apr 21 10:21:00 2016 +0530

    Fix pep8,import errors to support i18n

    Use project-specific oslo.i18n wrapper
    This change follows the oslo.i18n usage guideline [1].
    [1] http://docs.openstack.org/developer/oslo.i18n/usage.html

    Closes-Bug: #1572546

    Change-Id: I7a35a41205d9ee12fdc18963a915020e42e65330

Changed in networking-onos:
status: In Progress → Fix Released
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.