Commit 5573e2d7 authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Solves pylint warnings

parent df36001b
......@@ -251,7 +251,7 @@ class Buffer:
Can be removed from while being iterated over.
def __init__(self, capacity=None, **options):
def __init__(self, capacity=None):
Create a buffer.
......@@ -411,17 +411,19 @@ class Node:
Removes the sent packet from the buffer.
# pylint: disable=unused-argument
def send_failure(self, packet, target):
"""Call when a send fails."""
# pylint: disable=unused-argument
def packet_expiry(self, packet):
"""Call when a packet expires."""
def recv(self, packet, source=None):
def recv(self, packet):
Recieve a packet.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment