Skip to content

Commit

Permalink
Remove provider references in CLI code
Browse files Browse the repository at this point in the history
Not used anymore in botocore and has been removed.
  • Loading branch information
jamesls committed Jun 19, 2015
1 parent e166005 commit c11e2e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion awscli/clidriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def create_help_command(self):

def _add_help(self, parser):
# The 'help' output is processed a little differently from
# the provider/operation help because the arg_table has
# the operation help because the arg_table has
# CLIArguments for values.
parser.add_argument('help', nargs='?')

Expand Down
4 changes: 2 additions & 2 deletions awscli/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class ProviderHelpCommand(HelpCommand):

def __init__(self, session, command_table, arg_table,
description, synopsis, usage):
HelpCommand.__init__(self, session, session.provider,
HelpCommand.__init__(self, session, None,
command_table, arg_table)
self.description = description
self.synopsis = synopsis
Expand All @@ -271,7 +271,7 @@ def event_class(self):

@property
def name(self):
return self.obj.name
return 'aws'

@property
def subcommand_table(self):
Expand Down

0 comments on commit c11e2e0

Please sign in to comment.