Fixed a bug in CLI

Changes in cli.py. Code refactored in accordance with
OpenStack Style Guidelines.

Change-Id: I55d3ed4ecb061fbc4aad2ba26ee959ac9946a5ad
1 file changed