src/eric7/Plugins/PluginEricapi.py

branch
eric7
changeset 9514
2b104ad132a4
parent 9482
a2bc06a54d9d
child 9624
b47dfa7a137d
equal deleted inserted replaced
9513:6e260b424396 9514:2b104ad132a4
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)

eric ide

mercurial