From 26933543fe61bf00ee7cfbffe1471703a82a0d86 Mon Sep 17 00:00:00 2001 From: shin- Date: Tue, 10 Sep 2013 20:34:03 +0200 Subject: [PATCH] Added license header to .py files --- docker/__init__.py | 14 ++++++++++++++ docker/auth.py | 14 ++++++++++++++ docker/client.py | 14 ++++++++++++++ docker/unixconn.py | 14 ++++++++++++++ docker/utils.py | 14 ++++++++++++++ tests/test.py | 14 ++++++++++++++ 6 files changed, 84 insertions(+) diff --git a/docker/__init__.py b/docker/__init__.py index 3f7c1ce1..ba9d26d2 100644 --- a/docker/__init__.py +++ b/docker/__init__.py @@ -1,2 +1,16 @@ +# Copyright 2013 dotCloud 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. + from .client import Client import auth \ No newline at end of file diff --git a/docker/auth.py b/docker/auth.py index f62b6014..45233b63 100644 --- a/docker/auth.py +++ b/docker/auth.py @@ -1,3 +1,17 @@ +# Copyright 2013 dotCloud 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 base64 import json import os diff --git a/docker/client.py b/docker/client.py index 69ab31ed..777b054f 100644 --- a/docker/client.py +++ b/docker/client.py @@ -1,3 +1,17 @@ +# Copyright 2013 dotCloud 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 json import logging import re diff --git a/docker/unixconn.py b/docker/unixconn.py index 48c8da59..ff71ea6b 100644 --- a/docker/unixconn.py +++ b/docker/unixconn.py @@ -1,3 +1,17 @@ +# Copyright 2013 dotCloud 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 httplib import requests.adapters import requests.packages.urllib3.connectionpool diff --git a/docker/utils.py b/docker/utils.py index 1c477155..07c16cf3 100644 --- a/docker/utils.py +++ b/docker/utils.py @@ -1,3 +1,17 @@ +# Copyright 2013 dotCloud 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 six import tarfile import tempfile diff --git a/tests/test.py b/tests/test.py index 3649570e..bb12f3a6 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,3 +1,17 @@ +# Copyright 2013 dotCloud 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 base64 import os from StringIO import StringIO