440 if fpath.exists(): |
440 if fpath.exists(): |
441 res = EricMessageBox.yesNo( |
441 res = EricMessageBox.yesNo( |
442 self, |
442 self, |
443 self.tr("Save Diff"), |
443 self.tr("Save Diff"), |
444 self.tr( |
444 self.tr( |
445 "<p>The patch file <b>{0}</b> already exists." " Overwrite it?</p>" |
445 "<p>The patch file <b>{0}</b> already exists. Overwrite it?</p>" |
446 ).format(fpath), |
446 ).format(fpath), |
447 icon=EricMessageBox.Warning, |
447 icon=EricMessageBox.Warning, |
448 ) |
448 ) |
449 if not res: |
449 if not res: |
450 return |
450 return |