[tor-commits] [ooni-probe/develop] Fix #8329, txscapy.PcapDummyWriter.write() has wrong signature method.

isis at torproject.org isis at torproject.org
Thu Jun 6 16:41:36 UTC 2013


commit b203c2e26985aa22bd8179da01fbdb642a12fc11
Author: Isis Lovecruft <isis at torproject.org>
Date:   Sun Feb 24 22:45:12 2013 +0000

    Fix #8329, txscapy.PcapDummyWriter.write() has wrong signature method.
---
 ooni/utils/txscapy.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ooni/utils/txscapy.py b/ooni/utils/txscapy.py
index 87c0b4a..a6cacb1 100644
--- a/ooni/utils/txscapy.py
+++ b/ooni/utils/txscapy.py
@@ -64,6 +64,7 @@ else:
         def __init__(self, pcap_filename, *arg, **kw):
             log.err("Initializing DummyPcapWriter. We will not actually write to a pcapfile")
 
+        @staticmethod
         def write(self):
             pass
 





More information about the tor-commits mailing list