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

art at torproject.org art at torproject.org
Tue Apr 30 13:01:43 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 files changed, 1 insertions(+), 0 deletions(-)

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