Remove savanna aliases

Change-Id: I036424383340a42599f0f83b58fe8ab198c9e3c3
This commit is contained in:
Sergey Lukjanov 2014-03-20 19:00:00 +04:00
parent 184917ba79
commit 66e919b125
5 changed files with 0 additions and 30 deletions

View File

@ -1 +0,0 @@
from saharaclient.api import base as base # noqa

View File

@ -1,23 +0,0 @@
# Copyright (c) 2014 Mirantis 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 saharaclient import client as saharaclient
def Client(version, *args, **kwargs):
if 'savanna_url' in kwargs:
kwargs['sahara_url'] = kwargs['savanna_url']
del kwargs['savanna_url']
return saharaclient.Client(version, *args, **kwargs)

View File

@ -1 +0,0 @@
from saharaclient.shell import main as main # noqa

View File

@ -23,17 +23,12 @@ setup-hooks = pbr.hooks.setup_hook
[files]
packages =
savannaclient
saharaclient
[entry_points]
console_scripts =
sahara = saharaclient.shell:main
# TODO(slukjanov): remove this code (temp to migrate to the new name)
savanna = saharaclient.shell:main
[build_sphinx]
all_files = 1
build-dir = doc/build