Plugins/VcsPlugins/vcsMercurial/HgUserConfigDialog.py

changeset 5629
1df33bb9df28
parent 5389
9b1c800daff3
child 5637
468856aafa10
equal deleted inserted replaced
5628:3a1bef0560b1 5629:1df33bb9df28
185 self.proxyBypassEdit.text() 185 self.proxyBypassEdit.text()
186 else: 186 else:
187 if "http_proxy" in self.__config: 187 if "http_proxy" in self.__config:
188 del self.__config["http_proxy"] 188 del self.__config["http_proxy"]
189 ################################################################### 189 ###################################################################
190 ## hostfingerprints section 190 ## hostfingerprints/hostsecurity section
191 ################################################################### 191 ###################################################################
192 if self.__version < (3, 9, 0): 192 if self.__version < (3, 9, 0):
193 # 193 #
194 # delete hostsecurity section 194 # delete hostsecurity section
195 # 195 #
210 fingerprint 210 fingerprint
211 else: 211 else:
212 if "hostfingerprints" in self.__config: 212 if "hostfingerprints" in self.__config:
213 del self.__config["hostfingerprints"] 213 del self.__config["hostfingerprints"]
214 else: 214 else:
215 # TODO: add support for disabletls10warning = true
216 # TODO: add support for minimumprotocol = (tls1.0, tls1.1, tls1.2)
217 # TODO: add support for <hostname>:minimumprotocol = ...
218
215 # 219 #
216 # delete hostfingerprints section 220 # delete hostfingerprints section
217 # 221 #
218 if "hostfingerprints" in self.__config: 222 if "hostfingerprints" in self.__config:
219 del self.__config["hostfingerprints"] 223 del self.__config["hostfingerprints"]

eric ide

mercurial