[or-cvs] r17341: {updater} If a registry entry exists, treat it as authoritative.  (updater/trunk/lib/thandy/packagesys)
    nickm at seul.org 
    nickm at seul.org
       
    Thu Nov 20 22:05:06 UTC 2008
    
    
  
Author: nickm
Date: 2008-11-20 17:05:04 -0500 (Thu, 20 Nov 2008)
New Revision: 17341
Modified:
   updater/trunk/lib/thandy/packagesys/ExePackages.py
Log:
If a registry entry exists, treat it as authoritative.
Modified: updater/trunk/lib/thandy/packagesys/ExePackages.py
===================================================================
--- updater/trunk/lib/thandy/packagesys/ExePackages.py	2008-11-20 22:03:50 UTC (rev 17340)
+++ updater/trunk/lib/thandy/packagesys/ExePackages.py	2008-11-20 22:05:04 UTC (rev 17341)
@@ -70,8 +70,7 @@
         if self._registry_ent != None:
             try:
                 ver = thandy.util.getRegistryValue(self._registry_ent[0])
-                if ver == self._registry_ent[1]:
-                    return True
+                return ver == self._registry_ent[1]
             except thandy.util.NoRegistry:
                 pass
 
    
    
More information about the tor-commits
mailing list