Made pyflakes changes to peerdiscovery