diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2010-06-21 07:13:43 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-06-21 14:11:35 -0500 |
commit | ead071d65e6554c9b87fd11939d6a910109af3db (patch) | |
tree | f3a8411b360835ac749d60b9e4addc092b5b13f1 /src/sbin/bcfg2-admin | |
parent | 6180396f0b3a9c39ccb4c38f60fb89df842783ea (diff) | |
download | bcfg2-ead071d65e6554c9b87fd11939d6a910109af3db.tar.gz bcfg2-ead071d65e6554c9b87fd11939d6a910109af3db.tar.bz2 bcfg2-ead071d65e6554c9b87fd11939d6a910109af3db.zip |
Updated files to match PEP 257
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5952 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-admin')
-rwxr-xr-x | src/sbin/bcfg2-admin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin index 49c9452bc..5884ff208 100755 --- a/src/sbin/bcfg2-admin +++ b/src/sbin/bcfg2-admin @@ -13,7 +13,7 @@ log = logging.getLogger('bcfg2-admin') import Bcfg2.Server.Admin def mode_import(modename): - """Load Bcfg2.Server.Admin.<mode>""" + """Load Bcfg2.Server.Admin.<mode>.""" modname = modename.capitalize() mod = getattr(__import__("Bcfg2.Server.Admin.%s" % (modname)).Server.Admin, modname) @@ -24,7 +24,7 @@ def get_modes(): return [x.lower() for x in Bcfg2.Server.Admin.__all__ if x != 'mode'] def create_description(): - """Create the description string from the list of modes""" + """Create the description string from the list of modes.""" modes = get_modes() description = StringIO() description.write("Available modes are:\n\n") |