From a2755d2d1a111ad4e55f88a166a5b02856d363cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 8 Jun 2010 08:16:41 +0000 Subject: Updated files to match PEP 257 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Properties.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/Server/Plugins/Properties.py') 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$' -- cgit v1.2.3-1-g7c22