From 3442f7565e7be5df7ea170e2baa742e317049b51 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 19 Sep 2007 19:55:17 +0000 Subject: .iteritems() -> .items() svn path=/pow/POW-0.7/lib/pkix.py; revision=994 --- pow/POW-0.7/lib/pkix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pow/POW-0.7/lib/pkix.py') diff --git a/pow/POW-0.7/lib/pkix.py b/pow/POW-0.7/lib/pkix.py index d9cfa9b4..a5c14bcc 100755 --- a/pow/POW-0.7/lib/pkix.py +++ b/pow/POW-0.7/lib/pkix.py @@ -103,7 +103,7 @@ class POWCryptoDriver(CryptoDriver): POW.SHA256_DIGEST : (1, 2, 840, 113549, 1, 1, 11), # sha256WithRSAEncryption POW.SHA512_DIGEST : (1, 2, 840, 113549, 1, 1, 13), # sha512WithRSAEncryption } - self.OID2driver = dict((v,k) for k,v in self.driver2OID.iteritems()) + self.OID2driver = dict((v,k) for k,v in self.driver2OID.items()) def _digest(self, oid, plaintext): digest = POW.Digest(self.OID2driver[oid]) -- cgit v1.2.3