summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-01-29 15:28:05 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-01-29 15:28:05 +0000
commit2fa3c8f5bdec91ea0c4fbdea46700c6ab628c7fe (patch)
tree7f162c7f52b0befa3b87b79dbaf82ce4e884c886 /src/lib/Server
parente5a2454eeb1c692111e4a7235a1d49659593911c (diff)
downloadbcfg2-2fa3c8f5bdec91ea0c4fbdea46700c6ab628c7fe.tar.gz
bcfg2-2fa3c8f5bdec91ea0c4fbdea46700c6ab628c7fe.tar.bz2
bcfg2-2fa3c8f5bdec91ea0c4fbdea46700c6ab628c7fe.zip
Clean out dispatch table whenever files change (Resolves Ticket #522) [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4303 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index e363e20f6..dea30e105 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -338,6 +338,7 @@ class PrioDir(Plugin, XMLDirectoryBacked):
def HandleEvent(self, event):
'''Handle events and update dispatch table'''
XMLDirectoryBacked.HandleEvent(self, event)
+ self.Entries = {}
for src in self.entries.values():
for itype, children in src.items.iteritems():
for child in children: