126 if fpath.exists(): |
126 if fpath.exists(): |
127 res = EricMessageBox.yesNo( |
127 res = EricMessageBox.yesNo( |
128 self, |
128 self, |
129 self.tr("Save Diff"), |
129 self.tr("Save Diff"), |
130 self.tr( |
130 self.tr( |
131 "<p>The patch file <b>{0}</b> already exists." " Overwrite it?</p>" |
131 "<p>The patch file <b>{0}</b> already exists. Overwrite it?</p>" |
132 ).format(fpath), |
132 ).format(fpath), |
133 icon=EricMessageBox.Warning, |
133 icon=EricMessageBox.Warning, |
134 ) |
134 ) |
135 if not res: |
135 if not res: |
136 return |
136 return |