]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update register_opts hacking check to allow tuples
authorRyan McNair <rdmcnair@us.ibm.com>
Tue, 27 Oct 2015 22:46:46 +0000 (22:46 +0000)
committerRyan McNair <rdmcnair@us.ibm.com>
Wed, 28 Oct 2015 16:17:51 +0000 (16:17 +0000)
commitcf4378382a33363532b58af19af25e98db0c681c
tree09ee2d5b309a06f56d49d190b2e38a09b2328c93
parent8f60efa9c6d52259e63ee321b0fe0e98fdcf1dfa
Update register_opts hacking check to allow tuples

Update the hacking check for register_opts to allow tuples to be
passed in directly as an argument. Previously tuples were getting
flagged as invalid due to a missing pair of parenthesis in the
hacking check.

Change-Id: Ida2ae47eae4ebc6188696dc25943226acd67b5de
Closes-Bug: 1511010
cinder/hacking/checks.py
cinder/tests/unit/test_hacking.py