diff --git a/mopidy/utils/zeroconf.py b/mopidy/utils/zeroconf.py index c1781867..33fbd13b 100644 --- a/mopidy/utils/zeroconf.py +++ b/mopidy/utils/zeroconf.py @@ -1,11 +1,10 @@ from __future__ import unicode_literals import logging -import re import socket import string -logger = logging.getLogger('mopidy.utils.zerconf') +logger = logging.getLogger('mopidy.utils.zeroconf') try: import dbus @@ -17,13 +16,6 @@ _AVAHI_PROTO_UNSPEC = -1 _AVAHI_PUBLISHFLAGS_NONE = 0 -def _filter_loopback_and_meta_addresses(host): - # TODO: see if we can find a cleaner way of handling this. - if re.search(r'(?