Skip to content

Commit

Permalink
Fix typos in unexecuted code paths
Browse files Browse the repository at this point in the history
Change-Id: I28f1d4d29ef5a15682df909c5be7886a7ee5c4a6
Fixes: bug #1154808
  • Loading branch information
steveb committed Mar 13, 2013
1 parent a5a9379 commit 75d1814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heat_cfntools/cfntools/cfn_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def downgrade(cls, packages, rpms=True):
cmd = "yum -y downgrade "
cmd += " ".join(packages)
LOG.info("Downgrading packages: %s" % cmd)
command = Command(cmd).run()
command = CommandRunner(cmd).run()
if command.status:
LOG.warn("Failed to downgrade packages: %s" % cmd)

Expand Down Expand Up @@ -457,7 +457,7 @@ def _handle_yum_packages(self, packages):
if downgrades:
RpmHelper.downgrade(downgrades)

def _handle_rpm_packages(sef, packages):
def _handle_rpm_packages(self, packages):
"""
Handle installation, upgrade, or downgrade of a set of
packages via rpm.
Expand Down

0 comments on commit 75d1814

Please sign in to comment.