'H302 import only modules' pep8 error in bench tool

Bug #1366110 reported by Victoria Martinez de la Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Undecided
Unassigned

Bug Description

pep8 tests are failing for a nit in the bench tool

vkmc@juno:/opt/stack/zaqar$ tox -e pep8
pep8 recreate: /opt/stack/zaqar/.tox/pep8
pep8 installdeps: -r/opt/stack/zaqar/requirements.txt, -r/opt/stack/zaqar/test-requirements.txt, -r/opt/stack/zaqar/bench-requirements.txt
pep8 develop-inst: /opt/stack/zaqar
pep8 runtests: commands[0] | flake8
./zaqar/bench/consumer.py:28:1: H302 import only modules.'from zaqarclient.transport.errors import TransportError' does not import a module
./zaqar/bench/observer.py:29:1: H302 import only modules.'from zaqarclient.transport.errors import TransportError' does not import a module
./zaqar/bench/producer.py:29:1: H302 import only modules.'from zaqarclient.transport.errors import TransportError' does not import a module
ERROR: InvocationError: '/opt/stack/zaqar/.tox/pep8/bin/flake8'
_______________________________________________________________________________ summary ________________________________________________________________________________
ERROR: pep8: commands failed

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/119416
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=be7a2f9c389fe8294b205b2b7f27040aa7948fa1
Submitter: Jenkins
Branch: master

commit be7a2f9c389fe8294b205b2b7f27040aa7948fa1
Author: Victoria Martínez de la Cruz <email address hidden>
Date: Fri Sep 5 13:47:25 2014 -0300

    Fix pep8 error in bench tool

    pep8 tests were failing because of a nit in the imports.

    Change-Id: Ib7fc8afaa2c81266d41072d2da7d104f2ed9c87d
    Closes-bug: #1366110

Changed in zaqar:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in zaqar:
milestone: none → juno-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in zaqar:
milestone: juno-rc1 → 2014.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.