diff options
-rw-r--r-- | ACKS | 1 | ||||
-rw-r--r-- | lib/Crypto/SelfTest/Cipher/common.py | 2 | ||||
-rw-r--r-- | lib/Crypto/SelfTest/Hash/common.py | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -21,6 +21,7 @@ Ian Bicking Joris Bontje Antoon Bosselaers Andrea Bottoni +Jean-Paul Calderone Sergey Chernov Geremy Condra Jan Dittberner diff --git a/lib/Crypto/SelfTest/Cipher/common.py b/lib/Crypto/SelfTest/Cipher/common.py index 93ddd8b..af34e97 100644 --- a/lib/Crypto/SelfTest/Cipher/common.py +++ b/lib/Crypto/SelfTest/Cipher/common.py @@ -38,7 +38,7 @@ if sys.hexversion < 0x02030000: def dict(**kwargs): return kwargs.copy() else: - dict = __builtins__['dict'] + dict = dict class _NoDefault: pass # sentinel object def _extract(d, k, default=_NoDefault): diff --git a/lib/Crypto/SelfTest/Hash/common.py b/lib/Crypto/SelfTest/Hash/common.py index ee3eb07..386a82e 100644 --- a/lib/Crypto/SelfTest/Hash/common.py +++ b/lib/Crypto/SelfTest/Hash/common.py @@ -38,7 +38,7 @@ if sys.hexversion < 0x02030000: def dict(**kwargs): return kwargs.copy() else: - dict = __builtins__['dict'] + dict = dict class HashSelfTest(unittest.TestCase): |