commit 56f038eea8cf63bcb7f984e4d075665f4d670d3d
Author: Arturo Filastò <[email protected]>
Date:   Fri Feb 8 17:44:09 2013 +0100

    Make sure to import Gen, SetGen and MTU even when pypcap is and libdnet are 
not installed
---
 ooni/utils/txscapy.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ooni/utils/txscapy.py b/ooni/utils/txscapy.py
index 62bde94..0e805e7 100644
--- a/ooni/utils/txscapy.py
+++ b/ooni/utils/txscapy.py
@@ -41,7 +41,7 @@ except ImportError, e:
 
     PcapWriter = DummyPcapWriter
 
-
+    from scapy.all import Gen, SetGen, MTU
 
 def getNetworksFromRoutes():
     """ Return a list of networks from the routing table """



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to