summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/__init__.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-08-05 17:35:55 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-08-05 17:35:55 +0000
commit1b9d6e9b536ddbc2a78cd641b0a7014315cfe03d (patch)
treed1f313f33fe5e356c93449421c4988dedde6e82c /src/lib/Client/Tools/__init__.py
parent9ef9c703159404dba311e18624d2fdd5fb399020 (diff)
downloadbcfg2-1b9d6e9b536ddbc2a78cd641b0a7014315cfe03d.tar.gz
bcfg2-1b9d6e9b536ddbc2a78cd641b0a7014315cfe03d.tar.bz2
bcfg2-1b9d6e9b536ddbc2a78cd641b0a7014315cfe03d.zip
revert mistaken prunedir change
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4855 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/__init__.py')
-rw-r--r--src/lib/Client/Tools/__init__.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py
index 5333752bb..cda5d83cc 100644
--- a/src/lib/Client/Tools/__init__.py
+++ b/src/lib/Client/Tools/__init__.py
@@ -148,11 +148,8 @@ class Tool:
'''Build a list of potentially modified POSIX paths for this entry'''
if struct.tag != 'Bundle':
return []
- basic = [sentry.get('name') for sentry in struct if sentry.tag in \
- ['ConfigFile', 'SymLink', 'Directory', 'Permissions']]
- pdir = ["@%s" % (sentry.get('name')) for sentry in struct if entry.tag \
- == 'Directory' and entry.get('prune', 'false') == 'true']
- return basic + pdir
+ return [sentry.get('name') for sentry in struct if sentry.tag in \
+ ['ConfigFile', 'SymLink', 'Directory', 'Permissions']]
def gatherCurrentData(self, entry):
'''Default implementation of the information gathering routines'''