diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-23 15:06:12 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-23 15:06:12 -0400 |
commit | 6533d6b667dd851b5b8254849fc2e368baa450c6 (patch) | |
tree | 4b64d62d4920d1d73eccca66dfb356ee745f8096 /src | |
parent | 18b714109ccda3d929646b09d6984fa95e95776f (diff) | |
download | bcfg2-6533d6b667dd851b5b8254849fc2e368baa450c6.tar.gz bcfg2-6533d6b667dd851b5b8254849fc2e368baa450c6.tar.bz2 bcfg2-6533d6b667dd851b5b8254849fc2e368baa450c6.zip |
bcfg2-info: fixed packagesources arch filter
Diffstat (limited to 'src')
-rwxr-xr-x | src/sbin/bcfg2-info | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index dd509cdf0..4e4db3329 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -533,10 +533,8 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): # get_urls() loads url_map as a side-effect source.get_urls() for url_map in source.url_map: - for arch in url_map['arches']: - # make sure client is in all the proper arch groups - if arch not in metadata.groups: - continue + if url_map['arch'] not in metadata.groups: + continue reponame = source.get_repo_name(url_map) print("Name: %s" % reponame) print(" Type: %s" % source.ptype) |