don't print libasyncns warning on stdout. Fixes #5407

This commit is contained in:
Yann Leboulanger 2009-11-05 19:14:19 +01:00
parent 32309d2a30
commit c8cc5be366
1 changed files with 0 additions and 8 deletions

View File

@ -41,14 +41,6 @@ except ImportError:
USE_LIBASYNCNS = False USE_LIBASYNCNS = False
log.debug("Import of libasyncns-python failed, getaddrinfo will block", exc_info=True) log.debug("Import of libasyncns-python failed, getaddrinfo will block", exc_info=True)
# FIXME: Remove these prints before release, replace with a warning dialog.
print >> sys.stderr, "=" * 79
print >> sys.stderr, "libasyncns-python not installed which means:"
print >> sys.stderr, " - nslookup will be used for SRV and TXT requests"
print >> sys.stderr, " - getaddrinfo will block"
print >> sys.stderr, "libasyncns-python can be found at https://launchpad.net/libasyncns-python"
print >> sys.stderr, "=" * 79
def get_resolver(idlequeue): def get_resolver(idlequeue):
if USE_LIBASYNCNS: if USE_LIBASYNCNS: