]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-105745: Fix open method of webbrowser.Konqueror (#105746)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 14 Jun 2023 10:29:16 +0000 (13:29 +0300)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 10:29:16 +0000 (12:29 +0200)
Lib/webbrowser.py
Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst [new file with mode: 0644]

index 4fc9470051c1ad399a50c376778e6195ec8a2503..8b0628745c57fcea8b3d3cd212c3895172f2333b 100755 (executable)
@@ -390,15 +390,6 @@ class Konqueror(BaseBrowser):
             return (p.poll() is None)
 
 
-    def open(self, url, new=0, autoraise=True):
-        sys.audit("webbrowser.open", url)
-        if new:
-            ok = self._remote("LOADNEW " + url)
-        else:
-            ok = self._remote("LOAD " + url)
-        return ok
-
-
 class Edge(UnixBrowser):
     "Launcher class for Microsoft Edge browser."
 
diff --git a/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst b/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst
new file mode 100644 (file)
index 0000000..7df7c5a
--- /dev/null
@@ -0,0 +1 @@
+Fix ``webbrowser.Konqueror.open`` method.