diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-10-11 17:56:28 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-10-11 17:56:28 +0000 |
commit | a99a195893062d1ad0802f991aec084b5fd2538a (patch) | |
tree | f8ad8ef702d46444b8b6c6fdb5addff4f6b60a56 /src | |
parent | dc5218d7b2d571c661995d314143dd49be6d5889 (diff) | |
download | bcfg2-a99a195893062d1ad0802f991aec084b5fd2538a.tar.gz bcfg2-a99a195893062d1ad0802f991aec084b5fd2538a.tar.bz2 bcfg2-a99a195893062d1ad0802f991aec084b5fd2538a.zip |
Pass through modlist data for non package entries
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3794 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py index 06473d273..28c9600d9 100644 --- a/src/lib/Client/Tools/__init__.py +++ b/src/lib/Client/Tools/__init__.py @@ -147,7 +147,7 @@ class Tool: def buildModlist(self, entry, struct): '''Build a list of potentially modified POSIX paths for this entry''' - if entry.tag != 'Package' or struct.tag != 'Bundle': + if struct.tag != 'Bundle': return [] return [sentry.get('name') for sentry in struct if sentry.tag in \ ['ConfigFile', 'SymLink', 'Directory', 'Permissions']] |