From 37d6d76a124b1183802398451fc3c0504cd6b7be Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 10 Feb 2010 00:48:52 -0500 Subject: [PATCH] Too much output, not useful enough. --- config.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config.py b/config.py index ebfadef..06e64b8 100644 --- a/config.py +++ b/config.py @@ -221,14 +221,11 @@ def get_bin(fname): logger = logging.getLogger('pyTivo.config') if fname in bin_paths: - fpath = bin_paths[fname] - logger.debug('Using %s' % fpath) - return fpath + return bin_paths[fname] if config.has_option('Server', fname): fpath = config.get('Server', fname) if os.path.exists(fpath) and os.path.isfile(fpath): - logger.debug('Using %s' % fpath) bin_paths[fname] = fpath return fpath else: @@ -243,7 +240,6 @@ def get_bin(fname): os.getenv('PATH').split(os.pathsep)): fpath = os.path.join(path, fname + fext) if os.path.exists(fpath) and os.path.isfile(fpath): - logger.debug('Using %s' % fpath) bin_paths[fname] = fpath return fpath -- 2.11.4.GIT