eric7/Templates/TemplateViewer.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
equal deleted inserted replaced
9152:8a68afaf1ba2 9153:506e35e424d5
597 if fpath.exists(): 597 if fpath.exists():
598 ok = EricMessageBox.yesNo( 598 ok = EricMessageBox.yesNo(
599 self, 599 self,
600 self.tr("Export Templates"), 600 self.tr("Export Templates"),
601 self.tr("""<p>The templates file <b>{0}</b> exists""" 601 self.tr("""<p>The templates file <b>{0}</b> exists"""
602 """ already. Overwrite it?</p>""") 602 """ already. Overwrite it?</p>""").format(fpath))
603 .format(str(fpath)))
604 else: 603 else:
605 ok = True 604 ok = True
606 605
607 if ok: 606 if ok:
608 self.writeTemplates(str(fpath)) 607 self.writeTemplates(str(fpath))

eric ide

mercurial