[cli]remove deprecated rally show command

rally show command deprecated from Rally 0.2.0
relatednote:
http://rally.readthedocs.io/en/0.7.0/cli/cli_reference.html#category-show

Change-Id: I54b907d0b6a88a9ed42847ade2f7ac091241837c
This commit is contained in:
haishi 2016-12-21 20:11:04 +08:00
parent 6604ff62da
commit 57a2927780
2 changed files with 1 additions and 7 deletions

View File

@ -28,11 +28,6 @@ _rally()
OPTS["deployment_use"]="--deployment"
OPTS["plugin_list"]="--name --namespace"
OPTS["plugin_show"]="--name --namespace"
OPTS["show_flavors"]="--deployment"
OPTS["show_images"]="--deployment"
OPTS["show_keypairs"]="--deployment"
OPTS["show_networks"]="--deployment"
OPTS["show_secgroups"]="--deployment"
OPTS["task_abort"]="--uuid --soft"
OPTS["task_delete"]="--force --uuid"
OPTS["task_detailed"]="--uuid --iterations-data"

View File

@ -548,8 +548,7 @@ def check_objects_imports_in_cli(logical_line, physical_line, filename):
N361
"""
if (not filename.startswith("./rally/cli")
or filename == "./rally/cli/commands/show.py"):
if not filename.startswith("./rally/cli"):
return
if re_objects_import.search(logical_line):
yield (0, "N361 CLI modules do not allow to work with "