From f3cfe04516f368866b39638569afd2bb29e5110c Mon Sep 17 00:00:00 2001 From: Maciej Kwiek Date: Fri, 4 Dec 2015 13:34:52 +0100 Subject: [PATCH] Add .py extension to fuel-setup-networks It allows flake8 to check this file. Change-Id: I15165d4db02dbbf839f1aec66d426ba2805d60fc Partial-bug: #1522808 --- .../{fuel-setup-network => fuel-setup-network.py} | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) rename contrib/fuel-setup-network/{fuel-setup-network => fuel-setup-network.py} (89%) diff --git a/contrib/fuel-setup-network/fuel-setup-network b/contrib/fuel-setup-network/fuel-setup-network.py similarity index 89% rename from contrib/fuel-setup-network/fuel-setup-network rename to contrib/fuel-setup-network/fuel-setup-network.py index a9ef6fe..8f29ac1 100755 --- a/contrib/fuel-setup-network/fuel-setup-network +++ b/contrib/fuel-setup-network/fuel-setup-network.py @@ -1,5 +1,18 @@ #!/usr/bin/env python - +# -*- coding: utf-8 -*- +# Copyright 2015 Mirantis, Inc. +# +# 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 from ipaddress import ip_network import os