summaryrefslogtreecommitdiff
path: root/openstackclient/common/command.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-12-04 22:08:50 +0000
committerGerrit Code Review <review@openstack.org>2017-12-04 22:08:50 +0000
commit396cde37a36890f1387695a90963f188fbb39c5a (patch)
tree30a7ccc18f2aa3eb7775dc256af44aeadf38561b /openstackclient/common/command.py
parent0bf69a94626805bc03cc057ecf1ae022b403bc8a (diff)
parent2c2c16ba5524155cd187401aa2070af23f8bb772 (diff)
downloadpython-openstackclient-396cde37a36890f1387695a90963f188fbb39c5a.tar.gz
Merge "Remove a bunch of things we promised to remove in 2H 2017"
Diffstat (limited to 'openstackclient/common/command.py')
-rw-r--r--openstackclient/common/command.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/openstackclient/common/command.py b/openstackclient/common/command.py
deleted file mode 100644
index 44954da3..00000000
--- a/openstackclient/common/command.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2016 NEC Corporation
-#
-# 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.
-
-# NOTE(dtroyer): This file is deprecated in Jun 2016, remove after 4.x release
-# or Jun 2017.
-
-import inspect
-import sys
-
-from osc_lib.command.command import * # noqa
-
-
-parent_import = inspect.getouterframes(inspect.currentframe())[1][1]
-sys.stderr.write(
- "WARNING: %s is deprecated and will be removed after Jun 2017. "
- "Please use osc_lib.command.command. This warning is caused by an "
- "out-of-date import in %s\n" % (__name__, parent_import)
-)