Helpviewer/Network/NetworkAccessManager.py

changeset 664
3061f8bd826e
parent 629
c88489b378fb
child 666
fdd568d3533d
diff -r f9d49e0c2522 -r 3061f8bd826e Helpviewer/Network/NetworkAccessManager.py
--- a/Helpviewer/Network/NetworkAccessManager.py	Fri Oct 08 20:43:11 2010 +0200
+++ b/Helpviewer/Network/NetworkAccessManager.py	Sat Oct 09 15:26:36 2010 +0200
@@ -13,7 +13,8 @@
 from PyQt4.QtGui import QDialog
 from PyQt4.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
 try:
-    from PyQt4.QtNetwork import QSsl, QSslCertificate, QSslConfiguration, QSslSocket
+    from PyQt4.QtNetwork import QSsl, QSslCertificate, QSslConfiguration, QSslSocket, \
+        QSslError
     SSL_AVAILABLE = True
 except ImportError:
     SSL_AVAILABLE = False
@@ -197,6 +198,8 @@
         
         errorStrings = []
         for err in errors:
+            if err.error() == QSslError.NoError:
+                continue
             if err.certificate() in caMerge:
                 continue
             errorStrings.append(err.errorString())

eric ide

mercurial