diff options
Diffstat (limited to 'src/sbin/StatReports')
-rwxr-xr-x | src/sbin/StatReports | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sbin/StatReports b/src/sbin/StatReports index 82a588470..341d3f310 100755 --- a/src/sbin/StatReports +++ b/src/sbin/StatReports @@ -198,7 +198,6 @@ if __name__ == '__main__': #Merge data from three sources nodereport = Element("Report", attrib={"time" : asctime()}) - #should all of the other info in Metadata be appended? #What about all of the package stuff for other types of reports? @@ -216,6 +215,10 @@ if __name__ == '__main__': for reprt in configdata.findall('Report'): nodereport.set("name", reprt.get("name", default="BCFG Report")) + if reprt.get('refresh-time') != None: + nodereport.set("refresh-time",reprt.get("refresh-time", default="600")) + + procnodereport = generatereport(reprt, nodereport) for deliv in reprt.findall('Delivery'): |