Make pep8 and pylint satisfied

By the way, xptemplate is STUNNING!!!

Signed-off-by: Andrew Tselischev <andrewtselischev@gmail.com>