commit 31d99e2446f2d9ddc3832ba3652c317724dcd6c2 Author: Tomás Touceda chiiph@torproject.org Date: Tue Nov 1 13:15:48 2011 -0300
Fix minor bug in the ThpCheck: broken status wont mark it as not installed --- lib/thandy/packagesys/ThpPackages.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/thandy/packagesys/ThpPackages.py b/lib/thandy/packagesys/ThpPackages.py index 84e55c5..b558d59 100644 --- a/lib/thandy/packagesys/ThpPackages.py +++ b/lib/thandy/packagesys/ThpPackages.py @@ -140,7 +140,7 @@ class ThpChecker(PS.Checker): versions, status = self.getInstalledVersions() # if status = IN_PROGRESS a previous installation failed # we need to reinstall - return (status != "IN_PROGRESS" and self._version in versions) + return (status == "INSTALLED" and self._version in versions)
class ThpTransaction(object): """ Represents the installation of a bundle that contains thp packages. """