set.intersection only began to support multiple iterables after python2.6
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Review URL: http://codereview.chromium.org/
1593004
allconfigs[config].add((option, value))
# Split out common config options
-if len(allconfigs) > 1:
- common = set.intersection(*allconfigs.values())
-else:
- common = allconfigs.values()[0].copy()
+common = allconfigs.values()[0].copy()
+for config in allconfigs.keys():
+ common &= allconfigs[config]
for config in allconfigs.keys():
allconfigs[config] -= common
allconfigs["config.common"] = common