From 4ec81d6d5ba78304c40d50d71030e1ec7c2ef231 Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Mon, 14 May 2012 03:49:36 +0000 Subject: Migrate missing license info Fixes bug #998965 Some modules in nova/db/sqlalchemy/migrate_repo are missing license information Change-Id: I40efeb2f72b08e117b3a1b1fe25e51d8b4fa9700 --- nova/db/sqlalchemy/migrate_repo/__init__.py | 15 +++++++++++++++ nova/db/sqlalchemy/migrate_repo/manage.py | 18 ++++++++++++++++++ nova/db/sqlalchemy/migrate_repo/versions/082_essex.py | 2 ++ .../migrate_repo/versions/083_quota_class.py | 2 ++ .../versions/085_add_index_to_fixed_ips_by_address.py | 2 ++ .../versions/087_add_uuid_to_bw_usage_cache.py | 2 ++ .../versions/093_drop_instance_actions_table.py | 2 ++ .../versions/094_update_postgresql_sequence_names.py | 2 ++ nova/db/sqlalchemy/migrate_repo/versions/__init__.py | 15 +++++++++++++++ 9 files changed, 60 insertions(+) diff --git a/nova/db/sqlalchemy/migrate_repo/__init__.py b/nova/db/sqlalchemy/migrate_repo/__init__.py index e69de29bb..4cad9a01b 100644 --- a/nova/db/sqlalchemy/migrate_repo/__init__.py +++ b/nova/db/sqlalchemy/migrate_repo/__init__.py @@ -0,0 +1,15 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC. +# +# 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. diff --git a/nova/db/sqlalchemy/migrate_repo/manage.py b/nova/db/sqlalchemy/migrate_repo/manage.py index 09e340f44..f4b31bbe4 100644 --- a/nova/db/sqlalchemy/migrate_repo/manage.py +++ b/nova/db/sqlalchemy/migrate_repo/manage.py @@ -1,4 +1,22 @@ #!/usr/bin/env python +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC. +# +# 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. + from migrate.versioning.shell import main + + if __name__ == '__main__': main(debug='False', repository='.') diff --git a/nova/db/sqlalchemy/migrate_repo/versions/082_essex.py b/nova/db/sqlalchemy/migrate_repo/versions/082_essex.py index 14a06b6d4..d0ebe9b68 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/082_essex.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/082_essex.py @@ -1,3 +1,5 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + # Copyright 2012 OpenStack LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/nova/db/sqlalchemy/migrate_repo/versions/083_quota_class.py b/nova/db/sqlalchemy/migrate_repo/versions/083_quota_class.py index 37d9695d7..2f3b2ecc1 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/083_quota_class.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/083_quota_class.py @@ -1,3 +1,5 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + # Copyright 2012 OpenStack LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/nova/db/sqlalchemy/migrate_repo/versions/085_add_index_to_fixed_ips_by_address.py b/nova/db/sqlalchemy/migrate_repo/versions/085_add_index_to_fixed_ips_by_address.py index 8c4f0d5c3..5e24b42c3 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/085_add_index_to_fixed_ips_by_address.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/085_add_index_to_fixed_ips_by_address.py @@ -1,3 +1,5 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + # Copyright 2012 IBM # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/nova/db/sqlalchemy/migrate_repo/versions/087_add_uuid_to_bw_usage_cache.py b/nova/db/sqlalchemy/migrate_repo/versions/087_add_uuid_to_bw_usage_cache.py index 11a7d492d..1c4ac2642 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/087_add_uuid_to_bw_usage_cache.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/087_add_uuid_to_bw_usage_cache.py @@ -1,3 +1,5 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + # Copyright 2012 OpenStack LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/nova/db/sqlalchemy/migrate_repo/versions/093_drop_instance_actions_table.py b/nova/db/sqlalchemy/migrate_repo/versions/093_drop_instance_actions_table.py index dc69607f6..e523362cc 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/093_drop_instance_actions_table.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/093_drop_instance_actions_table.py @@ -1,3 +1,5 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + # Copyright 2012 Openstack, LLC. # All Rights Reserved. # diff --git a/nova/db/sqlalchemy/migrate_repo/versions/094_update_postgresql_sequence_names.py b/nova/db/sqlalchemy/migrate_repo/versions/094_update_postgresql_sequence_names.py index bad8735d0..5b1d9b490 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/094_update_postgresql_sequence_names.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/094_update_postgresql_sequence_names.py @@ -1,3 +1,5 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + # Copyright (c) 2012 Red Hat, Inc. # All Rights Reserved. # diff --git a/nova/db/sqlalchemy/migrate_repo/versions/__init__.py b/nova/db/sqlalchemy/migrate_repo/versions/__init__.py index e69de29bb..4cad9a01b 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/__init__.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/__init__.py @@ -0,0 +1,15 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC. +# +# 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. -- cgit