[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7f085e23137b0420e2ec485639411fd7b0bbbea5
Author: Matt Traudt <sirmatt@xxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits