Skip to content

Commit 82d22be

Browse files
committed
Pgen variable changed to progen
1 parent 3977783 commit 82d22be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/export/exporters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ def progen_get_project_data(self):
109109
}
110110
return project_data
111111

112-
def progen_gen_file(self, tool_name, project_data, pgen_build=False):
112+
def progen_gen_file(self, tool_name, project_data, progen_build=False):
113113
"""" Generate project using ProGen Project API """
114114
settings = ProjectSettings()
115115
project = Project(self.program_name, [project_data], settings)
116116
# TODO: Fix this, the inc_dirs are not valid (our scripts copy files), therefore progen
117117
# thinks it is not dict but a file, and adds them to workspace.
118118
project.project['common']['include_paths'] = self.resources.inc_dirs
119119
project.generate(tool_name, copied=not self.sources_relative)
120-
if pgen_build:
120+
if progen_build:
121121
print("Project exported, building...")
122122
result = project.build(tool_name)
123123
if result == -1:

0 commit comments

Comments
 (0)