Made pyflakes changes to peer.py