[tor-commits] [ooni-probe/master] Import the entire ipaddr module, not just IPAddress.

art at torproject.org art at torproject.org
Tue Apr 30 13:01:44 UTC 2013


commit 7ee239ca7b8b4c2541d98a120173d48d5603bdc9
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Apr 22 00:15:14 2013 +0000

    Import the entire ipaddr module, not just IPAddress.
---
 nettests/experimental/tls_handshake.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index ac94466..a1e46ec 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -31,9 +31,9 @@ import struct
 import sys
 import types
 
+import ipaddr
 import OpenSSL
 
-from ipaddr                 import IPAddress
 from OpenSSL                import SSL, crypto
 from twisted.internet       import defer, threads
 from twisted.python         import usage, failure





More information about the tor-commits mailing list