diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-11-05 08:01:17 -0800 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-11-05 08:01:17 -0800 |
commit | a4d91967661b3b316511ef320cb18ea66e86e551 (patch) | |
tree | c806235498f0a296aed4830faccd6746b1e802d7 /src/sbin/bcfg2-reports | |
parent | 156cdbb1deef5d891a3007cfe68cf9bf455f378a (diff) | |
parent | 0d4c72b7543ba1af56d2b2bd9414c4bf0f0c20c4 (diff) | |
download | bcfg2-a4d91967661b3b316511ef320cb18ea66e86e551.tar.gz bcfg2-a4d91967661b3b316511ef320cb18ea66e86e551.tar.bz2 bcfg2-a4d91967661b3b316511ef320cb18ea66e86e551.zip |
Merge pull request #110 from AlexanderS/reporting-model-updates
bcfg2-reports: update to use current models
Diffstat (limited to 'src/sbin/bcfg2-reports')
-rwxr-xr-x | src/sbin/bcfg2-reports | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sbin/bcfg2-reports b/src/sbin/bcfg2-reports index bb45e0009..b0c170b1b 100755 --- a/src/sbin/bcfg2-reports +++ b/src/sbin/bcfg2-reports @@ -53,15 +53,15 @@ def print_fields(fields, client, fmt, extra=None): else: fdata.append("dirty") elif field == 'total': - fdata.append(client.current_interaction.totalcount) + fdata.append(client.current_interaction.total_count) elif field == 'good': - fdata.append(client.current_interaction.goodcount) + fdata.append(client.current_interaction.good_count) elif field == 'modified': - fdata.append(client.current_interaction.modified_entry_count()) + fdata.append(client.current_interaction.modified_count) elif field == 'extra': - fdata.append(client.current_interaction.extra_entry_count()) + fdata.append(client.current_interaction.extra_count) elif field == 'bad': - fdata.append((client.current_interaction.badcount())) + fdata.append(client.current_interaction.bad_count) else: try: fdata.append(getattr(client, field)) |