From b0a62179b15283cbe9f125d7eca33f98c6ded2e9 Mon Sep 17 00:00:00 2001 From: liu-sheng Date: Mon, 27 Jan 2014 11:05:44 +0800 Subject: [PATCH] add copyright notices to some source files Only empty files don't need copyright notices. Change-Id: If1720d243bcd5bc1b5cee8b4a914ba0ca5b2f397 --- marconi/common/__init__.py | 13 +++++++++++++ marconi/queues/storage/__init__.py | 13 +++++++++++++ marconi/queues/storage/mongodb/__init__.py | 13 +++++++++++++ marconi/queues/storage/sqlite/__init__.py | 13 +++++++++++++ marconi/queues/transport/__init__.py | 12 ++++++++++++ marconi/queues/transport/wsgi/__init__.py | 13 +++++++++++++ marconi/queues/transport/zmq/__init__.py | 1 - 7 files changed, 77 insertions(+), 1 deletion(-) diff --git a/marconi/common/__init__.py b/marconi/common/__init__.py index 15dfa0253..fb9e0c1a7 100644 --- a/marconi/common/__init__.py +++ b/marconi/common/__init__.py @@ -1,3 +1,16 @@ +# 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. + """Code common to Marconi""" from marconi.common import pipeline diff --git a/marconi/queues/storage/__init__.py b/marconi/queues/storage/__init__.py index dce0b8514..c2351876e 100644 --- a/marconi/queues/storage/__init__.py +++ b/marconi/queues/storage/__init__.py @@ -1,3 +1,16 @@ +# 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. + """Marconi Storage Drivers""" from marconi.queues.storage import base diff --git a/marconi/queues/storage/mongodb/__init__.py b/marconi/queues/storage/mongodb/__init__.py index d03b3996c..26f8b6386 100644 --- a/marconi/queues/storage/mongodb/__init__.py +++ b/marconi/queues/storage/mongodb/__init__.py @@ -1,3 +1,16 @@ +# 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. + """MongoDB Storage Driver for Marconi""" from marconi.queues.storage.mongodb import driver diff --git a/marconi/queues/storage/sqlite/__init__.py b/marconi/queues/storage/sqlite/__init__.py index 0e6416c25..bff09e636 100644 --- a/marconi/queues/storage/sqlite/__init__.py +++ b/marconi/queues/storage/sqlite/__init__.py @@ -1,3 +1,16 @@ +# 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. + """ In-memory reference Storage Driver for Marconi. diff --git a/marconi/queues/transport/__init__.py b/marconi/queues/transport/__init__.py index b3267dabd..0018a71df 100644 --- a/marconi/queues/transport/__init__.py +++ b/marconi/queues/transport/__init__.py @@ -1,3 +1,15 @@ +# 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. """Marconi Transport Drivers""" diff --git a/marconi/queues/transport/wsgi/__init__.py b/marconi/queues/transport/wsgi/__init__.py index 4b97d7e8c..5c444dff3 100644 --- a/marconi/queues/transport/wsgi/__init__.py +++ b/marconi/queues/transport/wsgi/__init__.py @@ -1,3 +1,16 @@ +# 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. + """WSGI Transport Driver""" from marconi.queues.transport.wsgi import driver diff --git a/marconi/queues/transport/zmq/__init__.py b/marconi/queues/transport/zmq/__init__.py index 8ce757d64..e69de29bb 100644 --- a/marconi/queues/transport/zmq/__init__.py +++ b/marconi/queues/transport/zmq/__init__.py @@ -1 +0,0 @@ -""" ZMQ Transport (Experimental) """