def removePeer(self, url):
        """
        Remove peers by URL.
        """
        q = models.Peer.delete().where(
            models.Peer.url == url)
        q.execute()
def removePeer ( self , url ) : q = models . Peer . delete ( ) . where ( models . Peer . url == url ) q . execute ( )
Remove peers by URL.