diff options
-rwxr-xr-x | bin/gbuild-to-ide | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 4ad7d4b025ed..5190faea542c 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -226,9 +226,9 @@ class GbuildParser: self.target_by_path[path] = set() self.target_by_path[path] |= set([target]) for path in self.target_by_path: - if len(self.target_by_path[path]) > 1: + if len(set(self.target_by_path[path])) > 1: print('fdo#70422: multiple target use dir %s: %s' % ( - path, ', '.join([target.short_name() for target in self.target_by_path[path]]))) + path, ', '.join([target.short_name() for target in set(self.target_by_path[path])]))) return self |