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

atagar at torproject.org atagar at torproject.org
Thu Mar 30 04:18:02 UTC 2017


commit 25e9e22d39d21627cf09003476370dd5115bca4e
Author: Patrick O'Doherty <p at trickod.com>
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'
 





More information about the tor-commits mailing list