diff options
author | Doug Hellmann <doug@doughellmann.com> | 2015-05-04 20:37:59 +0000 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2015-05-11 20:59:55 +0000 |
commit | bcbfceb716f7259a9a81e5750b60dc6ddc8f0a63 (patch) | |
tree | dc1c20b0778e33a2fd96df3e7f11e0e1bb14738a /oslo/middleware/__init__.py | |
parent | f29fdec492344c97f290cae32d10fa541530e4d6 (diff) | |
download | oslo-middleware-bcbfceb716f7259a9a81e5750b60dc6ddc8f0a63.tar.gz |
Remove oslo namespace package
Blueprint remove-namespace-packages
Depends-on: I38e7c60ec602c33f74de237b6014b4ac13ee4985
for openstack/nova
Change-Id: I3cc1bf69e5e7daccf283d9b9c7f8620d68961de7
Diffstat (limited to 'oslo/middleware/__init__.py')
-rw-r--r-- | oslo/middleware/__init__.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/oslo/middleware/__init__.py b/oslo/middleware/__init__.py deleted file mode 100644 index 1407ce1..0000000 --- a/oslo/middleware/__init__.py +++ /dev/null @@ -1,28 +0,0 @@ -# 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 warnings - -from oslo_middleware import * - - -def deprecated(): - new_name = __name__.replace('.', '_') - warnings.warn( - ('The oslo namespace package is deprecated. Please use %s instead.' % - new_name), - DeprecationWarning, - stacklevel=3, - ) - - -deprecated() |