Revert "Prepare for 6.1 release"
This reverts commit da0e28ceef.
Change-Id: I9d8a692f8295df048a0536443038244054116490
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# DO NOT PUT ANY IMPORTS HERE BECAUSE THIS FILE IS USED
|
||||
# DURING THE INSTALLATION.
|
||||
from fuelclient import v1
|
||||
|
||||
try:
|
||||
import pkg_resources
|
||||
@@ -25,6 +24,10 @@ try:
|
||||
except ImportError:
|
||||
__version__ = ""
|
||||
|
||||
version_map = {
|
||||
'v1': {
|
||||
}
|
||||
}
|
||||
|
||||
def get_client(resource, version='v1'):
|
||||
"""Gets an API client for a resource
|
||||
@@ -44,13 +47,6 @@ def get_client(resource, version='v1'):
|
||||
calls to the specified version of the API.
|
||||
|
||||
"""
|
||||
from fuelclient import v1
|
||||
|
||||
version_map = {
|
||||
'v1': {
|
||||
}
|
||||
}
|
||||
|
||||
try:
|
||||
return version_map[version][resource].get_client()
|
||||
except KeyError:
|
||||
|
||||
@@ -70,7 +70,7 @@ class FuelClient(app.App):
|
||||
def main(argv=sys.argv[1:]):
|
||||
fuelclient_app = FuelClient(
|
||||
description='Command line interface and Python API wrapper for Fuel.',
|
||||
version='6.1.0',
|
||||
version='6.0.0',
|
||||
command_manager=CommandManager('fuelclient', convert_underscores=True)
|
||||
)
|
||||
return fuelclient_app.run(argv)
|
||||
|
||||
Reference in New Issue
Block a user