comparison mercurial/httprepo.py @ 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 2db33c1a5654
children 810ca383da9c
comparison
equal deleted inserted replaced
7276:08dc0152bb5e 7279:1f0f84660dea
213 def stream_out(self): 213 def stream_out(self):
214 return self.do_cmd('stream_out') 214 return self.do_cmd('stream_out')
215 215
216 class httpsrepository(httprepository): 216 class httpsrepository(httprepository):
217 def __init__(self, ui, path): 217 def __init__(self, ui, path):
218 if not has_https: 218 if not url.has_https:
219 raise util.Abort(_('Python support for SSL and HTTPS ' 219 raise util.Abort(_('Python support for SSL and HTTPS '
220 'is not installed')) 220 'is not installed'))
221 httprepository.__init__(self, ui, path) 221 httprepository.__init__(self, ui, path)
222 222
223 def instance(ui, path, create): 223 def instance(ui, path, create):