740 if "Error" in result: |
740 if "Error" in result: |
741 EricMessageBox.critical( |
741 EricMessageBox.critical( |
742 None, |
742 None, |
743 self.tr("Apply Refactoring"), |
743 self.tr("Apply Refactoring"), |
744 self.tr( |
744 self.tr( |
745 "<p>The refactoring could not be applied.</p>" "<p>Reason: {0}</p>" |
745 "<p>The refactoring could not be applied.</p><p>Reason: {0}</p>" |
746 ).format(result["ErrorString"]), |
746 ).format(result["ErrorString"]), |
747 ) |
747 ) |
748 |
748 |
749 ####################################################################### |
749 ####################################################################### |
750 ## Methods below handle the network connection |
750 ## Methods below handle the network connection |