diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-01-12 19:30:23 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-01-12 19:30:23 +0000 |
commit | c429b21fd58ec93b900235b848cc2df40dd59ffe (patch) | |
tree | 784484bcdc6f94dc616884db8750a46a455046ed /src/lib/Client | |
parent | d060ec599c49aae961149f48b46ca43089583473 (diff) | |
download | bcfg2-c429b21fd58ec93b900235b848cc2df40dd59ffe.tar.gz bcfg2-c429b21fd58ec93b900235b848cc2df40dd59ffe.tar.bz2 bcfg2-c429b21fd58ec93b900235b848cc2df40dd59ffe.zip |
switch installed_this_run to modified
(Logical change 1.190)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@806 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Debian.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py index 2d4b589bd..c34c82eb0 100644 --- a/src/lib/Client/Debian.py +++ b/src/lib/Client/Debian.py @@ -197,7 +197,7 @@ class Debian(Toolset): for entry in [ent for ent in work if self.states[ent]]: work.remove(entry) - self.installed_this_run.append(entry) + self.modified.append(entry) left = len(work) + len(self.pkgwork['remove']) self.HandleBundleDeps() @@ -206,7 +206,7 @@ class Debian(Toolset): '''Handle bundles depending on what has been modified''' for entry in [child for child in self.structures if child.tag == 'Bundle']: bchildren = entry.getchildren() - if [b_ent for b_ent in bchildren if b_ent in self.installed_this_run]: + if [b_ent for b_ent in bchildren if b_ent in self.modified]: # This bundle has been modified self.CondPrint('verbose', "%s %s needs update" % (entry.tag, entry.get('name', '???'))) modfiles = [cfile.get('name') for cfile in bchildren if cfile.tag == 'ConfigFile'] |