summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugin.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-08-01 13:48:35 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-08-01 13:48:35 +0000
commit27f130ee295c6469c74d172fe08ac310046c5d2c (patch)
tree6468b5030d37591cd327372cd7ab12bb33ae9508 /src/lib/Server/Plugin.py
parent2361aaca291b381bde937af2e575ef053eba6418 (diff)
downloadbcfg2-27f130ee295c6469c74d172fe08ac310046c5d2c.tar.gz
bcfg2-27f130ee295c6469c74d172fe08ac310046c5d2c.tar.bz2
bcfg2-27f130ee295c6469c74d172fe08ac310046c5d2c.zip
Revert mistaken Pkgmgr matches
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3588 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugin.py')
-rw-r--r--src/lib/Server/Plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index aa68a80df..3c32dcad7 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -275,7 +275,6 @@ class INode:
class XMLSrc(XMLFileBacked):
'''XMLSrc files contain a LNode hierarchy that returns matching entries'''
__node__ = INode
- __cacheobj__ = dict
def __init__(self, filename):
XMLFileBacked.__init__(self, filename)
@@ -308,7 +307,7 @@ class XMLSrc(XMLFileBacked):
def Cache(self, metadata):
'''Build a package dict for a given host'''
if self.cache == None or self.cache[0] != metadata:
- cache = (metadata, self.__cacheobj__())
+ cache = (metadata, {})
if self.pnode == None:
logger.error("Cache method called early for %s; forcing data load" % (self.name))
self.HandleEvent()