[Jython-checkins] jython: Cleanup SSLContext

darjus.loktevic jython-checkins at python.org
Sun Nov 8 18:04:44 EST 2015


https://hg.python.org/jython/rev/fa0239372f0e
changeset:   7794:fa0239372f0e
user:        Darjus Loktevic <darjus at gmail.com>
date:        Mon Nov 09 10:04:37 2015 +1100
summary:
  Cleanup SSLContext

files:
  Lib/ssl.py |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Lib/ssl.py b/Lib/ssl.py
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -441,9 +441,6 @@
 
 
 class SSLContext(object):
-    _DN_TO_CPY = {'CN': 'commonName', 'O': 'commonOrganization', 'C': 'countryName', 'DC': 'domainComponent',
-                  'SN': 'surname', 'GN': 'givenName', 'OU': 'organizationalUnitName', 'ST': 'stateOrProvinceName',
-                  'L': 'localityName', 'SERIALNUMBER': 'serialNumber', 'EMAILADDRESS': 'emailAddress'}
 
     def __init__(self, protocol):
         protocol_name = _PROTOCOL_NAMES[protocol]

-- 
Repository URL: https://hg.python.org/jython


More information about the Jython-checkins mailing list