139 Public method to retrieve the data. |
139 Public method to retrieve the data. |
140 |
140 |
141 @return tuple containig the host name and the fingerprint |
141 @return tuple containig the host name and the fingerprint |
142 @rtype tuple of two str |
142 @rtype tuple of two str |
143 """ |
143 """ |
144 if self.__version < (3, 9, 0): |
144 fingerprint = ( |
145 fingerprint = self.fingerprintEdit.text() |
145 self.fingerprintEdit.text() |
146 else: |
146 if self.__version < (3, 9, 0) else |
147 fingerprint = "{0}:{1}".format( |
147 "{0}:{1}".format(self.hashComboBox.currentText(), |
148 self.hashComboBox.currentText(), |
148 self.fingerprintEdit.text().strip()) |
149 self.fingerprintEdit.text().strip() |
149 ) |
150 ) |
|
151 |
150 |
152 return self.hostEdit.text().strip(), fingerprint |
151 return self.hostEdit.text().strip(), fingerprint |