[tor-commits] [sbws/master] Remove unused member function

pastly at torproject.org pastly at torproject.org
Tue Jun 26 15:36:49 UTC 2018


commit 7f085e23137b0420e2ec485639411fd7b0bbbea5
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Thu Jun 14 18:35:11 2018 -0400

    Remove unused member function
---
 sbws/lib/v3bwfile.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 3cff29d..e09392e 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -379,15 +379,6 @@ class V3BwFile(object):
         return self.total_bw / self.num_lines
 
     @classmethod
-    def from_results(cls, conf, output, results):
-        bw_lines = [V3BWLine.from_results(results[fp]) for fp in results]
-        bw_lines = sorted(bw_lines, key=lambda d: d.bw, reverse=True)
-        header = V3BwHeader.from_results(conf, results)
-        f = cls(header, bw_lines)
-        f.write(output)
-        return f
-
-    @classmethod
     def from_arg_results(cls, args, conf, results):
         bw_lines = [V3BWLine.from_results(results[fp]) for fp in results]
         bw_lines = sorted(bw_lines, key=lambda d: d.bw, reverse=True)





More information about the tor-commits mailing list