Skip to content

Commit 32edb92

Browse files
authored
Merge pull request #5657 from theotherjimmy/fix-e2studio
Correct typo? in e2studio exporter code
2 parents cee180f + 44e72fd commit 32edb92

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tools/export/e2studio/__init__.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ class E2Studio(GNUARMEclipse):
2828
# override
2929
def generate(self):
3030

31-
jinja_ctx = self.collect_tmpl_vars()
32-
33-
print
34-
print 'Create a e2 studio C++ managed project'
35-
print 'Project name: {0}'.format(self.project_name)
36-
print 'Target: {0}'.format(self.toolchain.target.name)
37-
print 'Toolchain: {0}'.format(self.TOOLCHAIN)
31+
jinja_ctx = self.create_jinja_ctx()
3832

3933
self.gen_file('e2studio/.cproject.tmpl', jinja_ctx, '.cproject', trim_blocks=True, lstrip_blocks=True)
4034
self.gen_file('e2studio/.gdbinit.tmpl', jinja_ctx, '.gdbinit')
@@ -43,6 +37,3 @@ def generate(self):
4337
self.gen_file('gnuarmeclipse/.project.tmpl', jinja_ctx, '.project', trim_blocks=True, lstrip_blocks=True)
4438
self.gen_file('gnuarmeclipse/mbedignore.tmpl', jinja_ctx, '.mbedignore')
4539
self.gen_file('gnuarmeclipse/makefile.targets.tmpl', jinja_ctx, 'makefile.targets', trim_blocks=True, lstrip_blocks=True)
46-
47-
print
48-
print 'Done. Import the project located at \'{0}\' in e2 studio.'.format(self.project_name)

0 commit comments

Comments
 (0)