commit 61b27de01f0d10f6f3adc6a48f19f70c76f88ddd Author: Arturo Filastò <a...@fuffa.org> Date: Sun Jan 12 15:56:22 2014 +0100
Add dnet module to the sys.modules --- ooni/utils/txscapy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ooni/utils/txscapy.py b/ooni/utils/txscapy.py index 876555b..66a3f22 100644 --- a/ooni/utils/txscapy.py +++ b/ooni/utils/txscapy.py @@ -34,7 +34,8 @@ def pcapdnet_installed(): # In debian libdnet is called dumbnet instead of dnet, but scapy is # expecting "dnet" so we try and import it under such name. try: - import dumbnet as dnet + import dumbnet + sys.modules['dnet'] = dumbnet except ImportError: pass try:
_______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits