Fix some pep8 issues in cluster.py