Skip to content
Snippets Groups Projects
Commit a2e59241 authored by Linus's avatar Linus
Browse files

Default to GioResolver

parent e4eb2d98
No related branches found
No related tags found
No related merge requests found
......@@ -52,15 +52,8 @@ except ImportError:
def get_resolver(idlequeue):
if USE_LIBASYNCNS:
log.info('Using LibAsyncNSResolver')
return LibAsyncNSResolver()
else:
if helpers.is_in_path('host'):
log.info('Using HostResolver')
return HostResolver(idlequeue)
log.info('Using NSLookupResolver')
return NSLookupResolver(idlequeue)
return GioResolver()
class CommonResolver():
def __init__(self):
......
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