From 8b2fa88f187595b28f9dfcd385531f4e05dbdf7b Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 25 Mar 2011 13:34:48 +0100 Subject: [PATCH] Print gconf errors only in debug mode. --- linkcheck/configuration/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linkcheck/configuration/__init__.py b/linkcheck/configuration/__init__.py index 0849f4aa..7bfe8cd1 100644 --- a/linkcheck/configuration/__init__.py +++ b/linkcheck/configuration/__init__.py @@ -428,7 +428,7 @@ def get_gconf_http_proxy (): port = 8080 return "%s:%d" % (host, port) except StandardError, msg: - log.info(LOG_CHECK, "error getting HTTP proxy from gconf: %s", msg) + log.debug(LOG_CHECK, "error getting HTTP proxy from gconf: %s", msg) return None @@ -447,7 +447,7 @@ def get_gconf_ftp_proxy (): port = 8080 return "%s:%d" % (host, port) except StandardError, msg: - log.info(LOG_CHECK, "error getting FTP proxy from gconf: %s", msg) + log.debug(LOG_CHECK, "error getting FTP proxy from gconf: %s", msg) return None @@ -461,7 +461,7 @@ def get_kde_http_proxy (): data = read_kioslaverc(config_dir) return data.get("http_proxy") except StandardError, msg: - log.info(LOG_CHECK, "error getting HTTP proxy from KDE: %s", msg) + log.debug(LOG_CHECK, "error getting HTTP proxy from KDE: %s", msg) def get_kde_ftp_proxy (): @@ -474,7 +474,7 @@ def get_kde_ftp_proxy (): data = read_kioslaverc(config_dir) return data.get("ftp_proxy") except StandardError, msg: - log.info(LOG_CHECK, "error getting FTP proxy from KDE: %s", msg) + log.debug(LOG_CHECK, "error getting FTP proxy from KDE: %s", msg) # The following KDE functions are largely ported and ajusted from # Google Chromium: