Skip to content
Snippets Groups Projects
Commit 5573e2d7 authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Solves pylint warnings

parent df36001b
No related branches found
No related tags found
2 merge requests!3Version 0.2,!2Document examples
......@@ -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
self.buffer.remove(packet)
def send_failure(self, packet, target):
"""Call when a send fails."""
# pylint: disable=unused-argument
pass
def packet_expiry(self, packet):
"""Call when a packet expires."""
self.buffer.remove(packet)
def recv(self, packet, source=None):
def recv(self, packet):
"""
Recieve a packet.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment