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

[tor-commits] [stem/master] Drop final reference to pycrypto in test/util.py



commit 25e9e22d39d21627cf09003476370dd5115bca4e
Author: Patrick O'Doherty <p@xxxxxxxxxxx>
Date:   Tue Feb 28 23:28:34 2017 -0800

    Drop final reference to pycrypto in test/util.py
---
 test/util.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/util.py b/test/util.py
index 18765ef..092d8d6 100644
--- a/test/util.py
+++ b/test/util.py
@@ -217,8 +217,8 @@ def check_python_version():
 
 def check_cryptography_version():
   if stem.prereq.is_crypto_available():
-    import Crypto
-    return Crypto.__version__
+    import cryptography
+    return cryptography.__version__
   else:
     return 'missing'
 



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