[tor-commits] [sbws/master] Remove classmethod to compare min_num results

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


commit 73c67f4b1d50f5db938d6eb20a55252d3bac5c2f
Author: juga0 <juga at riseup.net>
Date:   Mon Oct 15 10:16:49 2018 +0000

    Remove classmethod to compare min_num results
---
 sbws/lib/v3bwfile.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 3764714..e9cacb0 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -322,12 +322,6 @@ class V3BWLine(object):
         return bw_line
 
     @staticmethod
-    def min_num_results(results, min_num=0):
-        if len(results) > min_num:
-            return results
-        return None
-
-    @staticmethod
     def results_away_each_other(results, secs_away=None):
         if secs_away is None or len(results) < 2:
             return results





More information about the tor-commits mailing list