]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #20640: Add https: to url prefixes so test passes on Darwin.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 15 May 2016 17:25:23 +0000 (13:25 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sun, 15 May 2016 17:25:23 +0000 (13:25 -0400)
Lib/idlelib/configHelpSourceEdit.py

index b3028e9e2b3410244fe0926bb2123e03150c6c78..cde8118fe6b9d7a487971caa3405541414ac0d5a 100644 (file)
@@ -149,7 +149,7 @@ class GetHelpSourceDialog(Toplevel):
                            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