diff options
author | Rick Bradshow <bradshaw@mcs.anl.gov> | 2007-10-05 19:06:20 +0000 |
---|---|---|
committer | Rick Bradshow <bradshaw@mcs.anl.gov> | 2007-10-05 19:06:20 +0000 |
commit | 4149b1ac63408f0c81bbb1ad56080c7c1e68f7af (patch) | |
tree | 80bba552351e12f15de8e6e9f7cde45f76ba0bb8 /tools | |
parent | 46707594044bc6c84264ed45c70d9a40dbe0f011 (diff) | |
download | bcfg2-4149b1ac63408f0c81bbb1ad56080c7c1e68f7af.tar.gz bcfg2-4149b1ac63408f0c81bbb1ad56080c7c1e68f7af.tar.bz2 bcfg2-4149b1ac63408f0c81bbb1ad56080c7c1e68f7af.zip |
added an extra test in the if statement in the coelesing part to fix the
problem that arch independant stuff wasn't actually getting built.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3779 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/create-debian-pkglist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-debian-pkglist.py b/tools/create-debian-pkglist.py index 9ea16286f..f64a2ed1f 100755 --- a/tools/create-debian-pkglist.py +++ b/tools/create-debian-pkglist.py @@ -52,7 +52,7 @@ def processSource(prefix, source, dists, archs, prio, groups, packages): coalesced = 0 for pkg in pkgdata.keys(): data = pkgdata[pkg].values() - if data.count(data[0]) == len(data): + if data.count(data[0]) == len(data) == len(archs): output.write('<Package name="%s" version="%s"/>\n' % (pkg, data[0])) coalesced += 1 del pkgdata[pkg] |