nova.tests.objects.test_quotas fails H233 hacking check

Bug #1227655 reported by Matt Riedemann on 2013-09-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Matt Riedemann

Bug Description

I hit this locally, not sure how it got through the gate:

pep8 runtests: commands[0] | flake8
./nova/tests/objects/test_quotas.py:49:9: H233 Python 3.x incompatible use of print operator

Matt Riedemann (mriedem) wrote :

This is the line that fails, which is indeed failing the check:

print 'got here'

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

Changed in nova:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress

Reviewed: https://review.openstack.org/47367
Committed: http://github.com/openstack/nova/commit/de648bb7bfa9985ab67c0754c25d35cd71f6eb81
Submitter: Jenkins
Branch: master

commit de648bb7bfa9985ab67c0754c25d35cd71f6eb81
Author: Matt Riedemann <email address hidden>
Date: Thu Sep 19 06:35:49 2013 -0700

    Remove print statement from test_quotas that fails H233 check

    The nova.tests.objects.test_quotas module had a print statement which is
    causing a hacking H233 check failure. It was probably just left there
    from debugging the code while it was under development, so this patch
    simply removes it.

    Closes-Bug: #1227655

    Change-Id: I25296d7f4a9d2242bfe3ed2e00df6d840a7b19cd

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → havana-rc1
Thierry Carrez (ttx) on 2013-10-03
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in nova:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers