eric7/Project/ProjectResourcesBrowser.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
equal deleted inserted replaced
9152:8a68afaf1ba2 9153:506e35e424d5
508 self, 508 self,
509 self.tr("New Resource"), 509 self.tr("New Resource"),
510 self.tr( 510 self.tr(
511 "<p>The new resource file <b>{0}</b> could not" 511 "<p>The new resource file <b>{0}</b> could not"
512 " be created.<br>Problem: {1}</p>") 512 " be created.<br>Problem: {1}</p>")
513 .format(str(fpath), str(e))) 513 .format(fpath, str(e)))
514 return 514 return
515 515
516 self.project.appendFile(str(fpath)) 516 self.project.appendFile(str(fpath))
517 self.sourceFile.emit(str(fpath)) 517 self.sourceFile.emit(str(fpath))
518 518

eric ide

mercurial