summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-reports
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2008-09-03 03:20:51 +0000
committerSol Jerome <solj@ices.utexas.edu>2008-09-03 03:20:51 +0000
commit0a59783d3891a85174e9308cd7d573a644149624 (patch)
treed77b03fff8c5e3d4bb3c34d14b27cf4da3991b3e /src/sbin/bcfg2-reports
parentd68db2c50a203770a93c90e76d407fbd5e12cd8e (diff)
downloadbcfg2-0a59783d3891a85174e9308cd7d573a644149624.tar.gz
bcfg2-0a59783d3891a85174e9308cd7d573a644149624.tar.bz2
bcfg2-0a59783d3891a85174e9308cd7d573a644149624.zip
Fix bcfg2-reports so that it can also grab extra entries.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4899 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-reports')
-rwxr-xr-xsrc/sbin/bcfg2-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-reports b/src/sbin/bcfg2-reports
index b06fcdf37..af3cf96fb 100755
--- a/src/sbin/bcfg2-reports
+++ b/src/sbin/bcfg2-reports
@@ -182,8 +182,8 @@ elif singlehost != "":
print "Extra Entries:"
max_name = -1
for item in extraitems:
- if len(item.name) > max_name:
- max_name = len(item.name)
+ if len(item.entry.name) > max_name:
+ max_name = len(item.entry.name)
for item in extraitems:
print_entry(item, max_name)