Fixing tox pep8 errors in cgts-client component
Listed below are the errors which were fixed as well as the actions taken to fix them: "E302 expected 2 blank lines, found 1": --> Added 1 blank line. "E304 blank lines found after function decorator": --> Removed blank lines. "E265 block comment should start with '# '": --> Added a space at the beginning of the comment. Story: 2002888 Task: 23161 Change-Id: I6e84b905723af7d85a455a5f89c4b321bfd7dc01 Signed-off-by: Mathieu Robinson <mathieu.robinson@windriver.com>
This commit is contained in:
parent
e62fb517b5
commit
4f58e2c011
|
@ -69,6 +69,7 @@ def donot_ntp_add(cc, args):
|
|||
|
||||
_print_intp_show(intp)
|
||||
|
||||
|
||||
@utils.arg('--enabled',
|
||||
metavar='<true/false>',
|
||||
help="NTP service enabled.")
|
||||
|
|
|
@ -87,8 +87,6 @@ def do_show(cc, args):
|
|||
metavar='<security_feature>',
|
||||
choices=['spectre_meltdown_v1', 'spectre_meltdown_all'],
|
||||
help='Use spectre_meltdown_v1 for spectre/meltdown v1 fixes, or spectre_meltdown_all to use all fixes')
|
||||
|
||||
|
||||
def do_modify(cc, args):
|
||||
"""Modify system attributes."""
|
||||
isystems = cc.isystem.list()
|
||||
|
|
|
@ -62,7 +62,7 @@ def do_snmp_trapdest_add(cc, args):
|
|||
fields = dict((k, v) for (k, v) in vars(args).items()
|
||||
if k in field_list and not (v is None))
|
||||
# fields = utils.args_array_to_dict(fields, 'activity')
|
||||
#fields = utils.args_array_to_dict(fields, 'reason')
|
||||
# fields = utils.args_array_to_dict(fields, 'reason')
|
||||
itrapdest = cc.itrapdest.create(**fields)
|
||||
|
||||
field_list.append('uuid')
|
||||
|
|
Loading…
Reference in New Issue