eric6/WebBrowser/SafeBrowsing/SafeBrowsingUrl.py

changeset 7628
f904d0eef264
parent 7360
9190402e4505
child 7781
607a6098cb44
diff -r 7f643d41464e -r f904d0eef264 eric6/WebBrowser/SafeBrowsing/SafeBrowsingUrl.py
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingUrl.py	Wed Jun 17 17:12:21 2020 +0200
+++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingUrl.py	Wed Jun 17 20:18:54 2020 +0200
@@ -110,12 +110,12 @@
         if host.isdigit():
             try:
                 host = socket.inet_ntoa(struct.pack("!I", int(host)))
-            except Exception:
+            except Exception:           # secok
                 pass
         if host.startswith('0x') and '.' not in host:
             try:
                 host = socket.inet_ntoa(struct.pack("!I", int(host, 16)))
-            except Exception:
+            except Exception:           # secok
                 pass
         quotedPath = quote(path)
         quotedHost = quote(host)

eric ide

mercurial