# HG changeset patch # User Benoit Boissinot # Date 2008-10-28 18:07:14 # Node ID 1f0f84660deaa26c5fd79d2e47a6abe0ee20c9e8 # Parent 08dc0152bb5e0d40eaa3d862a6a02e55b5e83d27 Fix https availability checking thanks to Augie Fackler for noticing it. diff --git a/mercurial/httprepo.py b/mercurial/httprepo.py --- a/mercurial/httprepo.py +++ b/mercurial/httprepo.py @@ -215,7 +215,7 @@ class httprepository(repo.repository): 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)