From 31d99e2446f2d9ddc3832ba3652c317724dcd6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Tue, 1 Nov 2011 13:15:48 -0300 Subject: Fix minor bug in the ThpCheck: broken status wont mark it as not installed --- lib/thandy/packagesys/ThpPackages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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. """ -- cgit v1.2.3