[tor-commits] [sbws/master] Comment out debugging lines

juga at torproject.org juga at torproject.org
Tue Oct 16 13:04:44 UTC 2018


commit 77cc25ea924b467617e7864febabd9d0d294a8f0
Author: juga0 <juga at riseup.net>
Date:   Mon Oct 15 11:04:34 2018 +0000

    Comment out debugging lines
---
 sbws/lib/v3bwfile.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index be79885..6fe5a20 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -276,8 +276,8 @@ class V3BWLine(object):
         # useful args for scaling
         if success_results:
             if not len(success_results) >= min_num:
-                log.debug('There are no results with relays that have at least'
-                          '{} results.'.format(min_num))
+                # log.debug('There are no results with relays that have at least'
+                #           '{} results.'.format(min_num))
                 return None
             results_away = \
                 cls.results_away_each_other(success_results, secs_away)
@@ -329,6 +329,8 @@ class V3BWLine(object):
 
     @staticmethod
     def results_away_each_other(results, secs_away=None):
+        # log.debug("Checking whether results are away from each other in %s "
+        #           "secs.", secs_away)
         if secs_away is None or len(results) < 2:
             return results
         # the last one should be the most recent





More information about the tor-commits mailing list