[or-cvs] r19416: {torctl} Woopsies. Turns out I had the read+write bandwidths backward (torctl/trunk/python/TorCtl)

mikeperry at seul.org mikeperry at seul.org
Mon May 4 07:25:10 UTC 2009


Author: mikeperry
Date: 2009-05-04 03:25:09 -0400 (Mon, 04 May 2009)
New Revision: 19416

Modified:
   torctl/trunk/python/TorCtl/TorCtl.py
Log:

Woopsies. Turns out I had the read+write bandwidths backwards
this whole time. That's what I get for measuring their sum
instead of separately.



Modified: torctl/trunk/python/TorCtl/TorCtl.py
===================================================================
--- torctl/trunk/python/TorCtl/TorCtl.py	2009-05-04 07:00:05 UTC (rev 19415)
+++ torctl/trunk/python/TorCtl/TorCtl.py	2009-05-04 07:25:09 UTC (rev 19416)
@@ -159,7 +159,7 @@
     self.ncircs = ncircs
 
 class StreamBwEvent(Event):
-  def __init__(self, event_name, strm_id, read, written):
+  def __init__(self, event_name, strm_id, written, read):
     Event.__init__(self, event_name)
     self.strm_id = int(strm_id)
     self.bytes_read = int(read)



More information about the tor-commits mailing list