diff options
| author | Borne Mace <borne.mace@oracle.com> | 2015-07-10 12:01:28 -0700 |
|---|---|---|
| committer | Borne Mace <borne.mace@oracle.com> | 2015-07-10 12:01:28 -0700 |
| commit | 30a1988f0aba4749ce03107f14f34b1602c64a35 (patch) | |
| tree | 802a8a6fe1b58d1b242658387a34527b0089774b /tools/validate-yaml.py | |
| parent | 5a758fc6d1e951e3fa7c4e1c54dae7e96595f6ab (diff) | |
| download | kolla-30a1988f0aba4749ce03107f14f34b1602c64a35.tar.gz kolla-30a1988f0aba4749ce03107f14f34b1602c64a35.zip | |
Fixed additional OpenStack pep8 issues
The "hacking" package used in most OpenStack repos pulls in
additional pep8 rules. This commit should fix all of them
other than a hand full in the build.py file which will
be fixed in a separate commit
Change-Id: I40a0a30d338592ad64123e3da5523b9ad95a7a9c
Partially-Implements: blueprint enable-flake8
Diffstat (limited to 'tools/validate-yaml.py')
| -rwxr-xr-x | tools/validate-yaml.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py index 66611b85c..c4e4326d9 100755 --- a/tools/validate-yaml.py +++ b/tools/validate-yaml.py @@ -1,9 +1,21 @@ #!/usr/bin/python -import sys +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import argparse -import yaml import logging +import sys +import yaml def parse_args(): |
