Fixed Flake8 issues #4202

Review ID: 2983001