Ticket #1650: 0001-sugar.logger.trace-remove-superfluous-debug-logging-.patch

File 0001-sugar.logger.trace-remove-superfluous-debug-logging-.patch, 877 bytes (added by sascha_silbe, 11 years ago)

sugar.logger.trace(): remove superfluous debug logging

  • src/sugar/logger.py

    From da13cfd89ba51ae2f558e0d34a086e007bc45844 Mon Sep 17 00:00:00 2001
    From: Sascha Silbe <sascha@silbe.org>
    Date: Tue, 12 Jan 2010 15:51:25 +0000
    Subject: [PATCH] sugar.logger.trace(): remove superfluous debug logging (#1650)
    
    ---
     src/sugar/logger.py |    1 -
     1 files changed, 0 insertions(+), 1 deletions(-)
    
    diff --git a/src/sugar/logger.py b/src/sugar/logger.py
    index 8280f8b..74d3d12 100644
    a b def trace(logger=None, logger_name=None, skip_args=None, skip_kwargs=None, 
    167167    def _trace(f, *args, **kwargs):
    168168        # don't do expensive formatting if loglevel TRACE is not enabled
    169169        enabled = trace_logger.isEnabledFor(TRACE)
    170         logging.debug('logger.trace: mec %r' % enabled)
    171170        if enabled:
    172171            params_formatted = ", ".join(
    173172                [trace_repr.repr(a)