whitelist.py: Take care of some pylint issues,