changeset 7279:1f0f84660dea

Fix https availability checking thanks to Augie Fackler for noticing it.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Oct 2008 19:07:14 +0100
parents 08dc0152bb5e
children 810ca383da9c
files mercurial/httprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/httprepo.py	Mon Oct 27 13:38:31 2008 -0400
+++ b/mercurial/httprepo.py	Tue Oct 28 19:07:14 2008 +0100
@@ -215,7 +215,7 @@
 
 class httpsrepository(httprepository):
     def __init__(self, ui, path):
-        if not has_https:
+        if not url.has_https:
             raise util.Abort(_('Python support for SSL and HTTPS '
                                'is not installed'))
         httprepository.__init__(self, ui, path)