Skip to content

Commit

Permalink
Ignore error_received.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Sep 11, 2022
1 parent 3a55eec commit c6d404f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions asyncudp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def connection_lost(self, transport):
def datagram_received(self, data, addr):
self._packets.put_nowait((data, addr))

def error_received(self, exc):
pass

async def recvfrom(self):
return await self._packets.get()

Expand Down
2 changes: 1 addition & 1 deletion asyncudp/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.6.0'
__version__ = '0.7.0'

0 comments on commit c6d404f

Please sign in to comment.