From 6c76097531b26ff9f69709f8725192e8c8fff791 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 21 Jun 2010 09:07:06 +0000 Subject: Updated files to match PEP 257 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5953 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-build-reports | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/sbin/bcfg2-build-reports') diff --git a/src/sbin/bcfg2-build-reports b/src/sbin/bcfg2-build-reports index 602735bc5..dd5d9ce84 100755 --- a/src/sbin/bcfg2-build-reports +++ b/src/sbin/bcfg2-build-reports @@ -1,7 +1,7 @@ #!/usr/bin/env python -"""bcfg2-build-reports Generates & distributes reports of statistic information -for bcfg2""" +"""bcfg2-build-reports generates & distributes reports of statistic information +for Bcfg2.""" __revision__ = '$Revision$' @@ -109,7 +109,7 @@ def rss(reportxml, delivery, report): fil.close() def www(reportxml, delivery): - """www outputs report to""" + """www outputs report to.""" #this can later link to WWW report if one gets published simultaneously? for destination in delivery.findall('Destination'): @@ -119,7 +119,7 @@ def www(reportxml, delivery): fil.close() def fileout(reportxml, delivery): - """outputs to plain text file""" + """Outputs to plain text file.""" for destination in delivery.findall('Destination'): fil = open(destination.attrib['address'], 'w') @@ -192,7 +192,7 @@ if __name__ == '__main__': # os.system('GenerateHostInfo')#Generate HostInfo needs to be in path - """Reads Data & Config files""" + """Reads data & config files.""" try: statsdata = XML(open(statpath).read()) except (IOError, XMLSyntaxError): -- cgit v1.2.3-1-g7c22