--- a/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py Fri Nov 01 15:48:48 2013 +0100 @@ -198,7 +198,8 @@ QApplication.restoreOverrideCursor() self.inputGroup.setEnabled(False) self.inputGroup.hide() - E5MessageBox.critical(self, + E5MessageBox.critical( + self, self.trUtf8('Process Generation Error'), self.trUtf8( 'The process {0} could not be started. ' @@ -425,7 +426,8 @@ if ex: fname += ex if QFileInfo(fname).exists(): - res = E5MessageBox.yesNo(self, + res = E5MessageBox.yesNo( + self, self.trUtf8("Save Diff"), self.trUtf8("<p>The patch file <b>{0}</b> already exists." " Overwrite it?</p>").format(fname), @@ -440,8 +442,10 @@ f.write(eol.join(self.contents.toPlainText().splitlines())) f.close() except IOError as why: - E5MessageBox.critical(self, self.trUtf8('Save Diff'), - self.trUtf8('<p>The patch file <b>{0}</b> could not be saved.' + E5MessageBox.critical( + self, self.trUtf8('Save Diff'), + self.trUtf8( + '<p>The patch file <b>{0}</b> could not be saved.' '<br>Reason: {1}</p>') .format(fname, str(why)))