summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-12-04 16:47:10 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-12-04 16:47:10 +0000
commit147b545872dc36d2f8d5de33185570404362ac79 (patch)
tree000382f3aea615310239f65d7ebdddc41b33998f /src/lib
parent73202db8cebfa695b63ec84cfb08e0c7b1485db0 (diff)
downloadbcfg2-147b545872dc36d2f8d5de33185570404362ac79.tar.gz
bcfg2-147b545872dc36d2f8d5de33185570404362ac79.tar.bz2
bcfg2-147b545872dc36d2f8d5de33185570404362ac79.zip
IPS: Fix typo (Patch from Matthew Baker) [bugfix]
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5611 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/IPS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/IPS.py b/src/lib/Client/Tools/IPS.py
index bd71e50e8..fa8388809 100644
--- a/src/lib/Client/Tools/IPS.py
+++ b/src/lib/Client/Tools/IPS.py
@@ -33,7 +33,7 @@ class IPS(Bcfg2.Client.Tools.PkgTool):
pversion = pfmri.version.get_short_version()
self.installed[pname] = pversion
if pinfo['upgradable']:
- self.pending_updates.add(pname)
+ self.pending_upgrades.add(pname)
def VerifyPackage(self, entry, modlist):
'''Verify package for entry'''
@@ -45,7 +45,7 @@ class IPS(Bcfg2.Client.Tools.PkgTool):
self.logger.debug("IPS: Package %s not installed" % pname)
return False
if entry.get('version') == 'auto':
- if pname in self.pending_updates:
+ if pname in self.pending_upgrades:
return False
elif entry.get('version') == 'any':
pass