diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-06-15 13:22:19 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-06-15 13:22:19 -0400 |
commit | bc1a6b8d0a46e37a108a752a7b6f54e637ff804d (patch) | |
tree | e50cc822d4a21045ce465ee522de69bd9fb8d5a1 /src/lib/Server/Plugins | |
parent | 5f93d780fc2dcd6ba35179acd61c05754d1e4fbc (diff) | |
download | bcfg2-bc1a6b8d0a46e37a108a752a7b6f54e637ff804d.tar.gz bcfg2-bc1a6b8d0a46e37a108a752a7b6f54e637ff804d.tar.bz2 bcfg2-bc1a6b8d0a46e37a108a752a7b6f54e637ff804d.zip |
bug fixes
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/Properties.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/Server/Plugins/Properties.py b/src/lib/Server/Plugins/Properties.py index 95565f2e4..54c5def57 100644 --- a/src/lib/Server/Plugins/Properties.py +++ b/src/lib/Server/Plugins/Properties.py @@ -6,17 +6,7 @@ import Bcfg2.Server.Plugin class PropertyFile(Bcfg2.Server.Plugin.StructFile): """Class for properties files.""" - def Index(self): - """Build local data structures.""" - try: - xdata = XML(self.data) - except XMLSyntaxError: - self.label = None - self.entries = [] - return - self.label = xdata.attrib[self.__identifier__] - self.entries = xdata.getchildren() - + pass class PropDirectoryBacked(Bcfg2.Server.Plugin.DirectoryBacked): __child__ = PropertyFile |