This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit ec794e22826c5caf03b6c72d07f90218fd43f689
Author: Tomaz Muraus <[email protected]>
AuthorDate: Wed Nov 13 23:39:56 2019 +0100

    Make sure license header is added to the auto-generated file.
---
 contrib/scrape-ec2-sizes.py | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/contrib/scrape-ec2-sizes.py b/contrib/scrape-ec2-sizes.py
index 80d2de3..7d43258 100755
--- a/contrib/scrape-ec2-sizes.py
+++ b/contrib/scrape-ec2-sizes.py
@@ -280,7 +280,22 @@ def parse():
 
 def dump():
     sizes, regions = parse()
-    print("# File generated by script")
+    print("# File generated by script - DO NOT EDIT manually")
+    print("# Licensed to the Apache Software Foundation (ASF) under one or 
more")
+    print("# contributor license agreements.  See the NOTICE file distributed 
with")
+    print("# this work for additional information regarding copyright 
ownership.")
+    print("# The ASF licenses this file to You under the Apache License, 
Version 2.0")
+    print("# (the \"License\"); you may not use this file except in compliance 
with")
+    print("# the License.  You may obtain a copy of the License at")
+    print("#")
+    print("#     http://www.apache.org/licenses/LICENSE-2.0";)
+    print("#")
+    print("# Unless required by applicable law or agreed to in writing, 
software")
+    print("# distributed under the License is distributed on an \"AS IS\" 
BASIS,")
+    print("# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.")
+    print("# See the License for the specific language governing permissions 
and")
+    print("# limitations under the License.")
+
     print("INSTANCE_TYPES = " + json.dumps(sizes, indent=4, 
sort_keys=True).replace('null', 'None'))
     print("REGION_DETAILS = " + json.dumps(regions, indent=4, sort_keys=True))
 

Reply via email to