Fixed flake8 issues #4203

Review ID: 2983002