changeset 13418 | 28555e294104 |
parent 13289 | 58b26b360a57 |
child 13442 | bb107a31820e |
13417:0748e18be470 | 13418:28555e294104 |
---|---|
171 return matchoutput('hg root 2>&1', r'') |
171 return matchoutput('hg root 2>&1', r'') |
172 |
172 |
173 def has_ssl(): |
173 def has_ssl(): |
174 try: |
174 try: |
175 import ssl |
175 import ssl |
176 import OpenSSL |
|
177 OpenSSL.SSL.Context |
|
176 return True |
178 return True |
177 except ImportError: |
179 except ImportError: |
178 return False |
180 return False |
179 |
181 |
180 checks = { |
182 checks = { |