← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1468513] [NEW] hacking check needed for using greenthread.spawn()

 

Public bug reported:

Given https://review.openstack.org/#/c/183144/ and bug 1404268, we
should have a hacking check such that anytime someone tries to use
greenthread.spawn() in code it's a pep8 failure - they should be using
nova.utils.spawn() instead.

nova-specific hacking checks go here:

http://git.openstack.org/cgit/openstack/nova/tree/nova/hacking/checks.py

** Affects: nova
     Importance: Low
         Status: Triaged


** Tags: hacking low-hanging-fruit

** Changed in: nova
       Status: New => Triaged

** Changed in: nova
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1468513

Title:
  hacking check needed for using greenthread.spawn()

Status in OpenStack Compute (Nova):
  Triaged

Bug description:
  Given https://review.openstack.org/#/c/183144/ and bug 1404268, we
  should have a hacking check such that anytime someone tries to use
  greenthread.spawn() in code it's a pep8 failure - they should be using
  nova.utils.spawn() instead.

  nova-specific hacking checks go here:

  http://git.openstack.org/cgit/openstack/nova/tree/nova/hacking/checks.py

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


Follow ups

References