diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-04-17 17:55:51 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-04-17 17:55:51 +0000 |
commit | 314020e006edaae64f82d82408cb7af59d909d35 (patch) | |
tree | 2b69de63aec0a0debe669bc30190a99139242b06 /src/lib | |
parent | 49dad5f9022a32426fb1213fb1fad5b49fe314f5 (diff) | |
download | bcfg2-314020e006edaae64f82d82408cb7af59d909d35.tar.gz bcfg2-314020e006edaae64f82d82408cb7af59d909d35.tar.bz2 bcfg2-314020e006edaae64f82d82408cb7af59d909d35.zip |
Fix ex_ents tb (reported by SolJ) [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4550 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Tools/POSIX.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py index fd17ffe39..15ce942de 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -150,6 +150,7 @@ class POSIX(Bcfg2.Client.Tools.Tool): (mtime == entry.get('mtime', '-1'))) pruneTrue = True + self.ex_ents = [] if entry.get('prune', 'false') == 'true' \ and entry.tag == 'Directory': try: @@ -167,8 +168,6 @@ class POSIX(Bcfg2.Client.Tools.Tool): except OSError: self.ex_ents = [] pruneTrue = True - else: - pruneTrue = True if not pTrue: if owner != str(normUid(entry)): |