Fix glareclient download blob method

Fixed download method
Fixed __init__.py for murano packages

Change-Id: I645de01c8454913db2ebc25edc1909d7eca9f015
This commit is contained in:
IlyaMenkov 2016-09-23 15:07:12 +03:00 committed by Mike Fedosin
parent 9badd14b77
commit ba097e6600
2 changed files with 1 additions and 2 deletions

View File

@ -34,5 +34,5 @@ class TypeMapperAction(argparse.Action):
return 'tosca_templates'
elif type_name in ['murano-packages', 'murano-package',
'murano_packages', 'murano_package']:
return 'tosca_templates'
return 'murano_packages'
return type_name

View File

@ -150,7 +150,6 @@ class DownloadBlob(command.Command):
data = progressbar.VerboseIteratorWrapper(data, len(data))
if not (sys.stdout.isatty() and parsed_args.file is None):
utils.save_blob(data, parsed_args.file)
return self.dict2columns(())
else:
msg = ('No redirection or local file specified for downloaded '
'blob. Please specify a local file with --file to save '