WebBrowser/Network/SslErrorExceptionsDialog.py

changeset 5253
57276f763bf6
parent 5201
21601e86a3f5
child 5389
9b1c800daff3
equal deleted inserted replaced
5252:321c2003745d 5253:57276f763bf6
70 " violation of name constraints."), 70 " violation of name constraints."),
71 } 71 }
72 try: 72 try:
73 self.__errorDescriptions[ 73 self.__errorDescriptions[
74 QWebEngineCertificateError.CertificateValidityTooLong] = \ 74 QWebEngineCertificateError.CertificateValidityTooLong] = \
75 self.tr("The certificate has a validity period that is too long.") 75 self.tr("The certificate has a validity period that is"
76 " too long.")
76 except AttributeError: 77 except AttributeError:
77 # the value was added in Qt 5.7 78 # the value was added in Qt 5.7
78 pass 79 pass
79 80
80 for host, errors in errorsDict.items(): 81 for host, errors in errorsDict.items():

eric ide

mercurial