[Python-checkins] cpython (3.5): Issue #20640: Add https: to url prefixes so test passes on Darwin.
terry.reedy
python-checkins at python.org
Sun May 15 13:25:58 EDT 2016
https://hg.python.org/cpython/rev/ada719145597
changeset: 101347:ada719145597
branch: 3.5
parent: 101342:c05689e630d3
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sun May 15 13:25:23 2016 -0400
summary:
Issue #20640: Add https: to url prefixes so test passes on Darwin.
files:
Lib/idlelib/configHelpSourceEdit.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/configHelpSourceEdit.py b/Lib/idlelib/configHelpSourceEdit.py
--- a/Lib/idlelib/configHelpSourceEdit.py
+++ b/Lib/idlelib/configHelpSourceEdit.py
@@ -149,7 +149,7 @@
self.path.get().strip())
if sys.platform == 'darwin':
path = self.result[1]
- if path.startswith(('www', 'file:', 'http:')):
+ if path.startswith(('www', 'file:', 'http:', 'https:')):
pass
else:
# Mac Safari insists on using the URI form for local files
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list