Plugins/VcsPlugins/vcsMercurial/HgUserConfigHostFingerprintDialog.py

changeset 5295
87f1f8056814
parent 5292
ac8b476ba122
child 5389
9b1c800daff3
equal deleted inserted replaced
5294:d70147155302 5295:87f1f8056814
48 self.__version = version 48 self.__version = version
49 49
50 self.hashComboBox.addItem("") 50 self.hashComboBox.addItem("")
51 self.hashComboBox.addItems( 51 self.hashComboBox.addItems(
52 HgUserConfigHostFingerprintDialog.supportedHashes) 52 HgUserConfigHostFingerprintDialog.supportedHashes)
53 if self.__version < (4, 9, 0): 53 if self.__version < (3, 9, 0):
54 self.hashLabel.setEnabled(False) 54 self.hashLabel.setEnabled(False)
55 self.hashComboBox.setEnabled(False) 55 self.hashComboBox.setEnabled(False)
56 hash = "sha1" 56 hash = "sha1"
57 else: 57 else:
58 if fingerprint and fingerprint.startswith("sha"): 58 if fingerprint and fingerprint.startswith("sha"):

eric ide

mercurial