Merge "[cli]remove deprecated rally show command"

This commit is contained in:
Jenkins 2016-12-27 15:42:30 +00:00 committed by Gerrit Code Review
commit a2dba3c333
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 "