← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1100912] Re: hacking.py breaks use of """ in non-docstrings

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
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/1100912

Title:
  hacking.py breaks use of """ in non-docstrings

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Examples here:

  http://logs.openstack.org/18705/16/check/gate-nova-
  pep8/17572/console.html.gz

  ./nova/virt/baremetal/virtual_power_driver_settings.py:40:25: NOVA N402: one line docstring needs a period
  18:10:41         self.list_cmd = """list vms|awk -F'"' '{print $2}'"""
  18:10:41                         ^

  N402 is catching what it thinks is a docstring without a trailing
  period - but it's a valid use of the """ quote, not a single line
  docstring.

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