Fix pylint warnings

Signed-off-by: Jakub Filak <jfilak@redhat.com>