summaryrefslogtreecommitdiff
path: root/bin/gbuild-to-ide
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gbuild-to-ide')
-rwxr-xr-xbin/gbuild-to-ide4
1 files changed, 1 insertions, 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] = []