Removed some obsolete error handling code in webpage.

Mon, 16 Jun 2014 18:35:31 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 16 Jun 2014 18:35:31 +0200
changeset 3636
91102b757bef
parent 3635
fc024806236d
child 3638
cede64100e13

Removed some obsolete error handling code in webpage.

Helpviewer/HelpBrowserWV.py file | annotate | diff | comparison | revisions
diff -r fc024806236d -r 91102b757bef Helpviewer/HelpBrowserWV.py
--- a/Helpviewer/HelpBrowserWV.py	Mon Jun 16 18:27:11 2014 +0200
+++ b/Helpviewer/HelpBrowserWV.py	Mon Jun 16 18:35:31 2014 +0200
@@ -294,10 +294,6 @@
         
         if extension == QWebPage.ErrorPageExtension:
             info = sip.cast(option, QWebPage.ErrorPageExtensionOption)
-            if info.error == 102:
-                # this is something of a hack; hopefully it will work in
-                # the future
-                return False
             
             errorPage = sip.cast(output, QWebPage.ErrorPageExtensionReturn)
             urlString = bytes(info.url.toEncoded()).decode()

eric ide

mercurial