Skip to content

Commit 251ea9c

Browse files
committed
bpo-43137: webbrowser: Never invoke gnome-open
gnome-open was part of GNOME 2, which was superseded in around 2010 and is unmaintained. The replacement was gvfs-open, which was subsequently replaced by gio(1) (as used in the previous commit). Signed-off-by: Simon McVittie <[email protected]>
1 parent 4fd89aa commit 251ea9c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/webbrowser.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,6 @@ def register_X_browsers():
471471
if "GNOME_DESKTOP_SESSION_ID" in os.environ and shutil.which("gvfs-open"):
472472
register("gvfs-open", None, BackgroundBrowser("gvfs-open"))
473473

474-
# The default GNOME browser before 2008
475-
if "GNOME_DESKTOP_SESSION_ID" in os.environ and shutil.which("gnome-open"):
476-
register("gnome-open", None, BackgroundBrowser("gnome-open"))
477-
478474
# The default KDE browser
479475
if "KDE_FULL_SESSION" in os.environ and shutil.which("kfmclient"):
480476
register("kfmclient", Konqueror, Konqueror("kfmclient"))

0 commit comments

Comments
 (0)