From 7e63c759095bd90c6aff7b7ebcafe2535e27b7cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 7 Jun 2010 11:04:25 +0000 Subject: Updated files to match PEP 257 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5896 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-reports | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sbin/bcfg2-reports') diff --git a/src/sbin/bcfg2-reports b/src/sbin/bcfg2-reports index 337a2480f..40a6cdb1b 100755 --- a/src/sbin/bcfg2-reports +++ b/src/sbin/bcfg2-reports @@ -21,16 +21,16 @@ import datetime import fileinput def timecompare(client1, client2): - """Compares two clients by their timestamps""" + """Compares two clients by their timestamps.""" return cmp(client1.current_interaction.timestamp, \ client2.current_interaction.timestamp) def namecompare(client1, client2): - """Compares two clients by their names""" + """Compares two clients by their names.""" return cmp(client1.name, client2.name) def statecompare(client1, client2): - """Compares two clients by their states""" + """Compares two clients by their states.""" clean1 = client1.current_interaction.isclean() clean2 = client2.current_interaction.isclean() @@ -60,7 +60,7 @@ def crit_compare(criterion, client1, client2): def print_fields(fields, cli, max_name, entrydict): """ Prints the fields specified in fields of cli, max_name - specifies the column width of the name column + specifies the column width of the name column. """" fmt = '' for field in fields: -- cgit v1.2.3-1-g7c22