Skip to content

Commit

Permalink
Remove Python 2 remnants (home-assistant-libs#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored and balloob committed Aug 7, 2018
1 parent d8da9d5 commit 0ee0730
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions netdisco/daikin.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
"""Daikin device discovery."""
import socket

try:
# Py2
from urlparse import unquote # noqa
except ImportError:
# Py3
from urllib.parse import unquote # noqa

from datetime import timedelta
from urllib.parse import unquote

DISCOVERY_MSG = b"DAIKIN_UDP/common/basic_info"

Expand Down

0 comments on commit 0ee0730

Please sign in to comment.