From c8cc5be366ec8c4d87e0e329f3df29cf22a3a9d8 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 5 Nov 2009 19:14:19 +0100 Subject: [PATCH] don't print libasyncns warning on stdout. Fixes #5407 --- src/common/resolver.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/common/resolver.py b/src/common/resolver.py index 0be528f38..b11abcd98 100644 --- a/src/common/resolver.py +++ b/src/common/resolver.py @@ -41,14 +41,6 @@ except ImportError: USE_LIBASYNCNS = False 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): if USE_LIBASYNCNS: