diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2010-06-08 08:16:41 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-06-09 08:09:54 -0500 |
commit | a2755d2d1a111ad4e55f88a166a5b02856d363cd (patch) | |
tree | 82dabe1dbbe429e9d5cbe554ffb16702a79041d2 /src/lib/Server/Plugins/Properties.py | |
parent | e31f5234256e5234348fc67cf45e6f3462e1fbb8 (diff) | |
download | bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.tar.gz bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.tar.bz2 bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.zip |
Updated files to match PEP 257
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Properties.py')
-rw-r--r-- | src/lib/Server/Plugins/Properties.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Server/Plugins/Properties.py b/src/lib/Server/Plugins/Properties.py index 6d6ab1e8d..86330f6a0 100644 --- a/src/lib/Server/Plugins/Properties.py +++ b/src/lib/Server/Plugins/Properties.py @@ -5,10 +5,10 @@ import Bcfg2.Server.Plugin class PropertyFile(Bcfg2.Server.Plugin.XMLFileBacked): - '''Class for properties files''' + """Class for properties files.""" def Index(self): - '''Build data into an xml object''' + """Build data into an xml object.""" try: self.data = lxml.etree.XML(self.data) except lxml.etree.XMLSyntaxError: @@ -21,10 +21,10 @@ class PropDirectoryBacked(Bcfg2.Server.Plugin.DirectoryBacked): class Properties(Bcfg2.Server.Plugin.Plugin, Bcfg2.Server.Plugin.Connector): - ''' + """ The properties plugin maps property - files into client metadata instances - ''' + files into client metadata instances. + """ name = 'Properties' version = '$Revision$' |