diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-15 09:52:03 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-15 09:52:03 +0800 |
commit | 3f179ccef8a3d49993ecdec58a008054288b622b (patch) | |
tree | bfbc4c76937b4557796e311f1f60d714426167fd /testapi | |
parent | 15e1434ea6509f5ef286e23be2b8bcbd891ff0a5 (diff) |
delete useless get_parser
Change-Id: I0c14cf2d549f8363cb5a0a0267b69e5c00a64ce5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi')
-rw-r--r-- | testapi/testapi-client/testapiclient/utils/command.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/testapi/testapi-client/testapiclient/utils/command.py b/testapi/testapi-client/testapiclient/utils/command.py index 9614acf..b9d1ce8 100644 --- a/testapi/testapi-client/testapiclient/utils/command.py +++ b/testapi/testapi-client/testapiclient/utils/command.py @@ -20,17 +20,6 @@ class CommandMeta(abc.ABCMeta): @six.add_metaclass(CommandMeta) class Command(command.Command): - - def get_parser(self, prog_name): - parser = super(Command, self).get_parser(prog_name) - parser.add_argument('-u', - type=str, - help='Username for authentication') - parser.add_argument('-p', - type=str, - help='Password for authentication') - return parser - def run(self, parsed_args): self.log.debug('run(%s)', parsed_args) return super(Command, self).run(parsed_args) |