Skip to content

Commit 3de7b95

Browse files
author
Greg Turnquist
committed
Add license headers to some files.
1 parent 63bcc88 commit 3de7b95

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

src/springpython/remoting/http.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
# -*- coding: utf-8 -*-
2+
"""
3+
Copyright 2006-2011 SpringSource (http://springsource.com), All Rights Reserved
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
17+
218

319
# stdlib
420
import httplib
@@ -48,4 +64,4 @@ class CAValidatingHTTPS(httplib.HTTP):
4864
def __init__(self, host=None, port=None, strict=None, ca_certs=None, keyfile=None, certfile=None,
4965
cert_reqs=None, ssl_version=None, timeout=None):
5066
self._setup(self._connection_class(host, port, ca_certs, keyfile, certfile,
51-
cert_reqs, strict, ssl_version, timeout))
67+
cert_reqs, strict, ssl_version, timeout))

src/springpython/remoting/xmlrpc.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
# -*- coding: utf-8 -*-
2+
"""
3+
Copyright 2006-2011 SpringSource (http://springsource.com), All Rights Reserved
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
17+
218

319
# stdlib
420
import httplib
@@ -196,4 +212,4 @@ def __init__(self, uri=None, ca_certs=None, keyfile=None, certfile=None,
196212
ServerProxy.__init__(self, uri, _transport, encoding, verbose,
197213
allow_none, use_datetime)
198214

199-
self.logger = logging.getLogger(self.__class__.__name__)
215+
self.logger = logging.getLogger(self.__class__.__name__)

0 commit comments

Comments
 (0)