diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-04-18 14:18:32 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-04-18 14:18:32 -0400 |
commit | 45b18fcaaf9daa76dbf99df3e6f324233b2457c8 (patch) | |
tree | 8dd4f50a06327a3bdff8586aa228b5da8f9f4fa3 /src/sbin/bcfg2-info | |
parent | 717e0c60d2979de6d6e0ff04ea40e8e9c1654cbf (diff) | |
download | bcfg2-45b18fcaaf9daa76dbf99df3e6f324233b2457c8.tar.gz bcfg2-45b18fcaaf9daa76dbf99df3e6f324233b2457c8.tar.bz2 bcfg2-45b18fcaaf9daa76dbf99df3e6f324233b2457c8.zip |
bcfg2-info: fixed "bcfg2-info clients" when using clients database
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-x | src/sbin/bcfg2-info | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index b1e188d81..ac4c3af13 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -457,9 +457,7 @@ Bcfg2 client itself.""") def do_clients(self, _): """ clients - Print out client/profile info """ data = [('Client', 'Profile')] - clist = self.metadata.clients - clist.sort() - for client in clist: + for client in sorted(self.metadata.list_clients()): imd = self.metadata.get_initial_metadata(client) data.append((client, imd.profile)) print_tabular(data) |