From f77c3849ab582f5376dd0d7510e1c58c61c0d656 Mon Sep 17 00:00:00 2001 From: Josh Kearney <josh@jk0.org> Date: Thu, 24 Jan 2013 12:00:30 -0600 Subject: [PATCH] Standardize on a copyright header and ensure all files have them. Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29 --- openstackclient/__init__.py | 14 ++++++++++++++ openstackclient/common/__init__.py | 14 ++++++++++++++ openstackclient/common/clientmanager.py | 22 ++++++++++------------ openstackclient/common/command.py | 22 ++++++++++------------ openstackclient/common/exceptions.py | 22 ++++++++++------------ openstackclient/common/utils.py | 22 ++++++++++------------ openstackclient/shell.py | 22 ++++++++++------------ setup.py | 22 ++++++++++------------ 8 files changed, 88 insertions(+), 72 deletions(-) diff --git a/openstackclient/__init__.py b/openstackclient/__init__.py index e69de29..85ac250 100644 --- a/openstackclient/__init__.py +++ b/openstackclient/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2012-2013 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/openstackclient/common/__init__.py b/openstackclient/common/__init__.py index e69de29..85ac250 100644 --- a/openstackclient/common/__init__.py +++ b/openstackclient/common/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2012-2013 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/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py index 4d04921..f6f6642 100644 --- a/openstackclient/common/clientmanager.py +++ b/openstackclient/common/clientmanager.py @@ -1,19 +1,17 @@ -# Copyright 2012 OpenStack LLC. -# All Rights Reserved +# Copyright 2012-2013 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 +# 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 +# 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. +# 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. # -# vim: tabstop=4 shiftwidth=4 softtabstop=4 """Manage access to the clients, including authenticating when needed. """ diff --git a/openstackclient/common/command.py b/openstackclient/common/command.py index 405f655..cfcb605 100644 --- a/openstackclient/common/command.py +++ b/openstackclient/common/command.py @@ -1,19 +1,17 @@ -# Copyright 2012 OpenStack LLC. -# All Rights Reserved +# Copyright 2012-2013 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 +# 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 +# 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. +# 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. # -# vim: tabstop=4 shiftwidth=4 softtabstop=4 """ OpenStack base command diff --git a/openstackclient/common/exceptions.py b/openstackclient/common/exceptions.py index 465c3c4..9dfb4bc 100644 --- a/openstackclient/common/exceptions.py +++ b/openstackclient/common/exceptions.py @@ -1,19 +1,17 @@ -# Copyright 2012 OpenStack LLC. -# All Rights Reserved. +# Copyright 2012-2013 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 +# 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 +# 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. +# 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. # -# vim: tabstop=4 shiftwidth=4 softtabstop=4 """ Exception definitions. diff --git a/openstackclient/common/utils.py b/openstackclient/common/utils.py index c099889..19cca3f 100644 --- a/openstackclient/common/utils.py +++ b/openstackclient/common/utils.py @@ -1,19 +1,17 @@ -# Copyright 2012 OpenStack LLC. -# All Rights Reserved. +# Copyright 2012-2013 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 +# 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 +# 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. +# 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. # -# vim: tabstop=4 shiftwidth=4 softtabstop=4 """ Common client utilities diff --git a/openstackclient/shell.py b/openstackclient/shell.py index 531ac25..c007fc5 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -1,19 +1,17 @@ -# Copyright 2012 OpenStack LLC. -# All Rights Reserved +# Copyright 2012-2013 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 +# 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 +# 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. +# 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. # -# vim: tabstop=4 shiftwidth=4 softtabstop=4 """ Command-line interface to the OpenStack APIs diff --git a/setup.py b/setup.py index fe0c2eb..fdc0d63 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,17 @@ -# Copyright 2012 OpenStack LLC. -# All Rights Reserved +# Copyright 2012-2013 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 +# 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 +# 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. +# 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. # -# vim: tabstop=4 shiftwidth=4 softtabstop=4 import os