FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix indentation and remove unnecessary code · ProGamerCode/aws-cli@2f330ca · GitHub

forked from aws/aws-cli

Commit 2f330ca

Browse files
committed
Fix indentation and remove unnecessary code
1 parent 1a52526 commit 2f330ca

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • awscli/customizations/s3

‎awscli/customizations/s3/s3.py‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,6 @@ def _create_parameter_table(self):
302302
the event is emitted.
303303
"""
304304
parameter_table = self._populate_parameter_table()
305-
for param in CMD_DICT[self._name]['params']:
306-
parameter_table[param] = S3Parameter(param,
307-
PARAMS_DICT[param]['options'],
308-
PARAMS_DICT[param]['documents'])
309305
self._session.emit('building-parameter-table.s3.%s' % self._name,
310306
parameter_table=parameter_table,
311307
command=self._name)
@@ -316,8 +312,8 @@ def _populate_parameter_table(self):
316312
parameter_table = {}
317313
for param in CMD_DICT[self._name]['params']:
318314
parameter_table[param] = S3Parameter(param,
319-
PARAMS_DICT[param]['options'],
320-
PARAMS_DICT[param]['documents'])
315+
PARAMS_DICT[param]['options'],
316+
PARAMS_DICT[param]['documents'])
321317
return parameter_table
322318

323319
def _build_call_parameters(self, args, service_params):

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL