From eb3e2566e9ff3c7939e63a5e0a58a9e5f549778e Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Wed, 5 Jun 2013 00:32:01 +0200 Subject: [PATCH] comment-out unnecessary logs --- lib/solaar/ui/notify.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/solaar/ui/notify.py b/lib/solaar/ui/notify.py index d76aa694..20db0631 100644 --- a/lib/solaar/ui/notify.py +++ b/lib/solaar/ui/notify.py @@ -70,8 +70,8 @@ try: n.set_urgency(Notify.Urgency.NORMAL) try: - if _log.isEnabledFor(_DEBUG): - _log.debug("showing %s", n) + # if _log.isEnabledFor(_DEBUG): + # _log.debug("showing %s", n) n.show() except Exception: _log.exception("showing %s", n) @@ -100,8 +100,8 @@ try: n.set_urgency(urgency) try: - if _log.isEnabledFor(_DEBUG): - _log.debug("showing %s", n) + # if _log.isEnabledFor(_DEBUG): + # _log.debug("showing %s", n) n.show() except Exception: _log.exception("showing %s", n)