]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add hacking check for vim headers
authorJay S. Bryant <jsbryant@us.ibm.com>
Tue, 29 Jul 2014 03:03:42 +0000 (22:03 -0500)
committerJay S. Bryant <jsbryant@us.ibm.com>
Tue, 29 Jul 2014 03:26:25 +0000 (22:26 -0500)
commit6c272bcf2e508deb7eab98c4042a78a80f2f75f8
tree034ccac5e448f4788b4d977609b0324284570489
parentd95c0c3881386f013443bf711b58d9362df4e150
Add hacking check for vim headers

We have a number of commits that have removed the vim
headers from openstack/common components as well as
commits to remove the headers from drivers.  We, however,
haven't put a hacking check in to make sure that they don't
sneak back into the code as is evidenced by the fact that some
files failed the check.

This commit adds in the check, the associated test cases and
fixes the couple of files that had a vim header again.

Change-Id: I727bd2aff7ac7b909c9e7cd4f3639f5873793e97
bin/cinder-rtstool
cinder/hacking/checks.py
cinder/openstack/__init__.py
cinder/tests/api/contrib/test_used_limits.py
cinder/tests/test_hacking.py