summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Properties.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-01-28 19:30:15 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-01-28 19:30:15 +0000
commit485fbf1a19a8e9663899567922e995f6f94f1f97 (patch)
treec186b648d3e094eb4865902c01b7738faf4ba020 /src/lib/Server/Plugins/Properties.py
parent9c1d1c4044cf5ffdae4541ef11816c21f4c2b9b7 (diff)
downloadbcfg2-485fbf1a19a8e9663899567922e995f6f94f1f97.tar.gz
bcfg2-485fbf1a19a8e9663899567922e995f6f94f1f97.tar.bz2
bcfg2-485fbf1a19a8e9663899567922e995f6f94f1f97.zip
Properties fixes from pylint
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5047 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Properties.py')
-rw-r--r--src/lib/Server/Plugins/Properties.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Properties.py b/src/lib/Server/Plugins/Properties.py
index 61e80bfe3..2692c742e 100644
--- a/src/lib/Server/Plugins/Properties.py
+++ b/src/lib/Server/Plugins/Properties.py
@@ -1,17 +1,17 @@
import copy, lxml.etree
import Bcfg2.Server.Plugin
-class Properties(Bcfg2.Server.Plugin.XMLFileBacked):
+class PropertyFile(Bcfg2.Server.Plugin.XMLFileBacked):
'''Class for properties files'''
def Index(self):
'''Build data into an xml object'''
try:
self.data = lxml.etree.XML(self.data)
except lxml.etree.XMLSyntaxError:
- logger.error("Failed to parse %s" % self.name)
+ Bcfg2.Server.Plugin.logger.error("Failed to parse %s" % self.name)
class PropDirectoryBacked(Bcfg2.Server.Plugin.DirectoryBacked):
- __child__ = Properties
+ __child__ = PropertyFile
class Properties(Bcfg2.Server.Plugin.Plugin,
Bcfg2.Server.Plugin.Connector):