summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-04-02 18:06:43 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-04-02 18:06:43 +0000
commit26da41e9b1bef3596e812116df6bc18fe3d7c859 (patch)
treec3c925710e4ee487df40362119c68ba451944a6c
parente9b7d2cf3dfb9ca23f10df50eac4b8f299656c3e (diff)
downloadbcfg2-26da41e9b1bef3596e812116df6bc18fe3d7c859.tar.gz
bcfg2-26da41e9b1bef3596e812116df6bc18fe3d7c859.tar.bz2
bcfg2-26da41e9b1bef3596e812116df6bc18fe3d7c859.zip
fix typo
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5150 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Packages.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 7ed7d3831..2369a004c 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -294,7 +294,7 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
Bcfg2.Server.Plugin.StructureValidator.__init__(self)
Bcfg2.Server.Plugin.Generator.__init__(self)
cachepath = self.data + '/cache'
- self.sentinals = set()
+ self.sentinels = set()
if not os.path.exists(cachepath):
# create cache directory if needed
os.mkdir(cachepath)
@@ -311,13 +311,13 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
self.logger.info("File read failed; updating sources", exc_info=1)
source.update()
source.read_files()
- self.sentinals.update(source.basegroups)
+ self.sentinels.update(source.basegroups)
def get_matching_sources(self, meta):
return [s for s in self.sources if s.applies(meta)]
def HandlesEntry(self, entry, metadata):
- if [x for x in metadata.groups if x in self.sentinals] \
+ if [x for x in metadata.groups if x in self.sentinels] \
and entry.tag == 'Package':
return True
return False