summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Properties.py
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-06-08 08:16:41 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-09 08:09:54 -0500
commita2755d2d1a111ad4e55f88a166a5b02856d363cd (patch)
tree82dabe1dbbe429e9d5cbe554ffb16702a79041d2 /src/lib/Server/Plugins/Properties.py
parente31f5234256e5234348fc67cf45e6f3462e1fbb8 (diff)
downloadbcfg2-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.py10
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$'