Fixing Pep8 errors of type E116

Change-Id: I344fb1560fb3b5ecf8613711fa45dd5d66c0b58c
Story: 2002888
Task: 23097
Signed-off-by: Mathieu Robinson <mathieu.robinson@windriver.com>
Signed-off-by: Jack Ding <jack.ding@windriver.com>
This commit is contained in:
Mathieu Robinson 2018-06-14 15:06:49 -04:00 committed by Jack Ding
parent 73fcbfeff7
commit 9d1aa3d6c3
2 changed files with 3 additions and 2 deletions

View File

@ -3132,7 +3132,8 @@ def localstorageprofile_apply_to_host(host, profile):
try:
pvfields = ['disk_or_part_device_path',
'lvm_vg_name']
# 'lvm_pv_name', from Agent: not in profile
# 'lvm_pv_name', from Agent: not in profile
pvdict = (dict((k, v) for k, v in pipv.as_dict().iteritems()
if k in pvfields and v))
pvdict['forihostid'] = host_id

View File

@ -82,7 +82,7 @@ commands =
# H231..H238 are python3 compatability
# H401,H403,H404,H405 are docstring and not important
[flake8]
ignore = E501,E127,E128,E231,E266,E402,E711,E116,E203,E731,E712,E713,E702,E714,E126,E121,E722,H101,H102,H104,H105,H231,H232,H233,H234,H235,H236,H237,H238,H401,H403,H404,H405
ignore = E501,E127,E128,E231,E266,E402,E711,E203,E731,E712,E713,E702,E714,E126,E121,E722,H101,H102,H104,H105,H231,H232,H233,H234,H235,H236,H237,H238,H401,H403,H404,H405
builtins = _
[testenv:flake8]