Fix python3 compatibility issue

pull/9342/head
Andriy.Lishchynskyi 2019-01-23 23:25:20 +02:00
parent 7f2caacbdd
commit 55a6ca5b1a
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ class Eclipse(Makefile):
launch_cfgs = {}
for launch_name in supported_launches:
launch = dict(ctx.items() + {'device': self.get_target_config(ctx, launch_name)}.items())
launch = dict(ctx.items())
launch.update({'device': self.get_target_config(ctx, launch_name)}.items())
launch_cfgs.update({launch_name: launch})
if not exists(join(self.export_dir,'eclipse-extras')):