724 dia.exec_() |
724 dia.exec_() |
725 return res |
725 return res |
726 |
726 |
727 @pyqtSlot() |
727 @pyqtSlot() |
728 def __repairPip(self): |
728 def __repairPip(self): |
|
729 """ |
|
730 Private method to repair the pip installation. |
|
731 |
|
732 @return flag indicating a successful execution |
|
733 @rtype bool |
|
734 """ |
729 default = self.tr("<Default>") |
735 default = self.tr("<Default>") |
730 pipExecutables = sorted( |
736 pipExecutables = sorted( |
731 self.__plugin.getPreferences("PipExecutables")) |
737 self.__plugin.getPreferences("PipExecutables")) |
732 pip, ok = QInputDialog.getItem( |
738 pip, ok = QInputDialog.getItem( |
733 None, |
739 None, |