From b7e6f68858198cef294774e85134088828c742c3 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 16 Jan 2017 18:29:52 +0100 Subject: gbuild-to-ide, temporary fix added test if key is in json file, this is needed at least temporary. Change-Id: I6fca2dff7fd198ac6b324869146c14de5f38b414 --- bin/gbuild-to-ide | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index cf44d5ecdcda..47eaebd84231 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -117,9 +117,7 @@ class GbuildParser: location = os.path.dirname(jsondata['MAKEFILE']) filesSorted = {} for i in jsonSrc: - if len(jsondata[i]) > 0: - if jsonSrc[i] == '?': - raise Exception('type need conversion') + if i in jsondata and len(jsondata[i]) > 0: filesSorted[i] = sorted(GbuildParser.__split_objs(jsondata[i])) else: filesSorted[i] = [] -- cgit