From 30a1988f0aba4749ce03107f14f34b1602c64a35 Mon Sep 17 00:00:00 2001 From: Borne Mace Date: Fri, 10 Jul 2015 12:01:28 -0700 Subject: 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 --- tools/validate-json.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'tools/validate-json.py') diff --git a/tools/validate-json.py b/tools/validate-json.py index 1b0506ba1..eee2276db 100755 --- a/tools/validate-json.py +++ b/tools/validate-json.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 json import logging +import sys def parse_args(): -- cgit v1.2.3