[Libreoffice-commits] core.git: bin/gbuild-to-ide
Markus Mohrhard
markus.mohrhard at googlemail.com
Mon Sep 14 10:31:07 PDT 2015
bin/gbuild-to-ide | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0253f6e5975429d393fb581056a9d102c9f7da2c
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Sep 14 19:25:14 2015 +0200
we need to use a set tocheck uniqueness of paths for gbuild-to-ide script
Change-Id: Ic74655c18296e0b69b3f66a7a9ccea8e4c405dbf
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 4ad7d4b..5190fae 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
More information about the Libreoffice-commits
mailing list