Bug 1928 - fixes pylint

Gist: https://gist.github.com/rszalski/3e8fd1ac7769d681cde3