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

Solves pylint warnings

parent df36001b
...@@ -251,7 +251,7 @@ class Buffer: ...@@ -251,7 +251,7 @@ class Buffer:
Can be removed from while being iterated over. Can be removed from while being iterated over.
""" """
def __init__(self, capacity=None, **options): def __init__(self, capacity=None):
""" """
Create a buffer. Create a buffer.
...@@ -411,17 +411,19 @@ class Node: ...@@ -411,17 +411,19 @@ class Node:
Removes the sent packet from the buffer. Removes the sent packet from the buffer.
""" """
# pylint: disable=unused-argument
self.buffer.remove(packet) self.buffer.remove(packet)
def send_failure(self, packet, target): def send_failure(self, packet, target):
"""Call when a send fails.""" """Call when a send fails."""
# pylint: disable=unused-argument
pass pass
def packet_expiry(self, packet): def packet_expiry(self, packet):
"""Call when a packet expires.""" """Call when a packet expires."""
self.buffer.remove(packet) self.buffer.remove(packet)
def recv(self, packet, source=None): def recv(self, packet):
""" """
Recieve a 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