summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-06-07 11:04:25 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-07 08:42:52 -0500
commit7e63c759095bd90c6aff7b7ebcafe2535e27b7cd (patch)
treedc7e51a12e78af7d2d1da10f36ea5da5c194ecbc /src/sbin
parent0b5debac6873733685bc55fc1f88da6b5879a85f (diff)
downloadbcfg2-7e63c759095bd90c6aff7b7ebcafe2535e27b7cd.tar.gz
bcfg2-7e63c759095bd90c6aff7b7ebcafe2535e27b7cd.tar.bz2
bcfg2-7e63c759095bd90c6aff7b7ebcafe2535e27b7cd.zip
Updated files to match PEP 257
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5896 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-reports8
1 files changed, 4 insertions, 4 deletions
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: