214 else: |
214 else: |
215 root, ext = os.path.splitext(outputFileName) |
215 root, ext = os.path.splitext(outputFileName) |
216 outfile = "{0}-{1}{2}".format(root, progLanguage.lower(), ext) |
216 outfile = "{0}-{1}{2}".format(root, progLanguage.lower(), ext) |
217 |
217 |
218 outfile = project.getRelativePath(outfile) |
218 outfile = project.getRelativePath(outfile) |
219 if outfile not in project.pdata["OTHERS"]: |
219 if outfile not in project.getProjectData(dataKey="OTHERS"): |
220 project.pdata["OTHERS"].append(outfile) |
220 project.appendFile(outfile) |
221 project.setDirty(True) |
|
222 project.othersAdded(outfile) |
|