Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9a2a1cb0
Commit
9a2a1cb0
authored
Jul 10, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Patch #981794] Add support for Firefox/Firebird
parent
864bba19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Lib/webbrowser.py
Lib/webbrowser.py
+6
-5
No files found.
Lib/webbrowser.py
View file @
9a2a1cb0
...
...
@@ -277,14 +277,15 @@ if os.environ.get("TERM") or os.environ.get("DISPLAY"):
# X browsers have more in the way of options
if
os
.
environ
.
get
(
"DISPLAY"
):
_tryorder
=
[
"galeon"
,
"skipstone"
,
"mozilla"
,
"netscape"
,
_tryorder
=
[
"galeon"
,
"skipstone"
,
"mozilla-firefox"
,
"mozilla-firebird"
,
"mozilla"
,
"netscape"
,
"kfm"
,
"grail"
]
+
_tryorder
# First, the Netscape series
if
_iscommand
(
"mozilla"
):
register
(
"mozilla"
,
None
,
Netscape
(
"mozilla"
))
if
_iscommand
(
"netscape"
):
register
(
"netscape"
,
None
,
Netscape
(
"netscape"
))
for
browser
in
(
"mozilla-firefox"
,
"mozilla-firebird"
,
"mozilla"
,
"netscape"
):
if
_iscommand
(
browser
):
register
(
browser
,
None
,
Netscape
(
browser
))
# Next, Mosaic -- old but still in use.
if
_iscommand
(
"mosaic"
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment