pep8 and pylint cleanup on Cache.py

this makes pep8 tool happy, and gets a 10/10 from pylint