Skip to content

Commit

Permalink
udp: tune coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed Feb 13, 2016
1 parent 7e26143 commit e46bcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uv/handles/udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def uv_udp_recv_cb(udp_handle, length, uv_buf, c_sockaddr, flags):
status = error.StatusCodes.SUCCESS
if c_sockaddr:
address = dns.unpack_sockaddr(c_sockaddr)
else:
else: # pragma: no cover
address = None
udp_handle.on_receive(udp_handle, status, address, data, flags)

Expand Down

0 comments on commit e46bcaa

Please sign in to comment.