diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-10 21:01:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-10 21:01:22 +0000 |
| commit | 9b9923fa716b8d263360e783d9d417f7e420b7d7 (patch) | |
| tree | 081a77fd0646019fd8947dada1a99aefeef90cdc /tools | |
| parent | 61a5d91f5b9986cf73a8a403f4d29630e2ac47de (diff) | |
| parent | 30a1988f0aba4749ce03107f14f34b1602c64a35 (diff) | |
| download | kolla-9b9923fa716b8d263360e783d9d417f7e420b7d7.tar.gz kolla-9b9923fa716b8d263360e783d9d417f7e420b7d7.zip | |
Merge "Fixed additional OpenStack pep8 issues"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/validate-json.py | 14 | ||||
| -rwxr-xr-x | tools/validate-yaml.py | 16 |
2 files changed, 27 insertions, 3 deletions
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(): 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(): |
