summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-21 20:39:09 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-21 20:39:09 +0000
commit5376e7a715a053ec8411db0d13ae55cc354997c3 (patch)
tree235309e57e225e732225b5cc198206e486dcf17c
parent240440b706864703b8683ced141dae0b11f7ed66 (diff)
downloadbcfg2-5376e7a715a053ec8411db0d13ae55cc354997c3.tar.gz
bcfg2-5376e7a715a053ec8411db0d13ae55cc354997c3.tar.bz2
bcfg2-5376e7a715a053ec8411db0d13ae55cc354997c3.zip
fix to ignore SymLink and Directory for now
(Logical change 1.106) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@480 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index b3414832b..379a68700 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -113,7 +113,7 @@ class Core(object):
[z.Construct(metadata) for z in self.structures])
def BindStructure(self, structure, metadata):
- for entry in structure.getchildren():
+ for entry in [x in structure.getchildren() if x.tag not in ['SymLink','Directory']]:
try:
self.Bind(entry, metadata)
except KeyError, k: