summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py')
-rw-r--r--src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py b/src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py
index d67a68c8b..4221cc615 100644
--- a/src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py
+++ b/src/lib/Bcfg2/Client/Tools/POSIX/Nonexistent.py
@@ -21,8 +21,8 @@ class POSIXNonexistent(POSIXTool):
recursive = entry.get('recursive', '').lower() == 'true'
if recursive:
# ensure that configuration spec is consistent first
- for struct in self.config.getchildren():
- for el in struct.getchildren():
+ for struct in self.config:
+ for el in struct:
if (el.tag == 'Path' and
el.get('type') != 'nonexistent' and
el.get('name').startswith(ename)):