Fixed trivial pylint complaint and cleaned up the code of at_view.py.

Leo build: 20140920180009