Flake8ify #1730

* Fixed indentation and unused code for all the files in module to
  improve readability of code.

Issue ID: 179001
Merge pull request #80 from simmianand/feature/task-1730

 Flake8ify #1730