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-info | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sbin/bcfg2-info') diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 7a724d19b..fefeec79e 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -1,6 +1,6 @@ #!/usr/bin/python -"""This tool loads the Bcfg2 core into an interactive debugger""" +"""This tool loads the Bcfg2 core into an interactive debugger.""" __revision__ = '$Revision$' from code import InteractiveConsole @@ -40,7 +40,7 @@ class FileNotBuilt(Exception): return repr(self.value) def printTabular(rows): - """print data in tabular format.""" + """Print data in tabular format.""" cmax = tuple([max([len(str(row[index])) for row in rows]) + 1 \ for index in range(len(rows[0]))]) fstring = (" %%-%ss |" * len(cmax)) % cmax @@ -149,7 +149,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): do_exit = do_quit def do_help(self, _): - """Print out usage info""" + """Print out usage info.""" print 'Commands:' print 'build - build config for hostname, writing to filename' print 'builddir - build config for hostname, writing separate files to dirname' @@ -172,15 +172,15 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): def do_update(self, _): - """Process pending fs events""" + """Process pending fs events.""" self.fam.handle_events_in_interval(0.1) def do_version(self, _): - """Print out code version""" + """Print out code version.""" print(__revision__) def do_build(self, args): - """Build client configuration""" + """Build client configuration.""" alist = args.split() path_force = False if '-f' in args: -- cgit v1.2.3-1-g7c22