236 if fpath.exists(): |
236 if fpath.exists(): |
237 res = EricMessageBox.yesNo( |
237 res = EricMessageBox.yesNo( |
238 self, |
238 self, |
239 self.tr("Save Diff"), |
239 self.tr("Save Diff"), |
240 self.tr( |
240 self.tr( |
241 "<p>The patch file <b>{0}</b> already exists." " Overwrite it?</p>" |
241 "<p>The patch file <b>{0}</b> already exists. Overwrite it?</p>" |
242 ).format(fpath), |
242 ).format(fpath), |
243 icon=EricMessageBox.Warning, |
243 icon=EricMessageBox.Warning, |
244 ) |
244 ) |
245 if not res: |
245 if not res: |
246 return |
246 return |