From 2b80a03fa2577f5ca3167ada23b431fb8e1612f5 Mon Sep 17 00:00:00 2001 From: Nikhil Manchanda Date: Thu, 10 Oct 2013 20:00:49 -0700 Subject: [PATCH] Fixed minor typos with trove-client help info Fixed typos and cleaned up unnecessary imports. Fixes bug 1238325 Change-Id: I7b2379cecb89e9f58cde9b2b68bddee41aefcfa3 --- troveclient/v1/shell.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py index d61d9c9e..835dd451 100644 --- a/troveclient/v1/shell.py +++ b/troveclient/v1/shell.py @@ -1,12 +1,8 @@ from __future__ import print_function -import argparse -import copy -import os import sys import time -from troveclient import exceptions from troveclient import utils @@ -399,7 +395,7 @@ def do_user_update_attributes(cs, args): nargs="+", default=[]) @utils.service_type('database') def do_user_grant_access(cs, args): - """Grants access to a atabase(s) for a user.""" + """Grants access to a database(s) for a user.""" cs.users.grant(args.instance, args.name, args.databases, hostname=args.host) @@ -450,7 +446,7 @@ def do_root_show(cs, args): @utils.service_type('database') def do_secgroup_list(cs, args): - """Lists all security gropus.""" + """Lists all security groups.""" wrapper = cs.security_groups.list() sec_grps = wrapper.items while (wrapper.next):