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

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



commit b203c2e26985aa22bd8179da01fbdb642a12fc11
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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
 



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