summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-20 22:05:04 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-20 22:05:04 +0000
commit4c892dc50c74c7a177aa80786b110159c2a1f509 (patch)
tree6777386b69cff2a4e755aa584100a017f6e0c60e /lib
parent3b50b5c9971acfcc49e11a732061ce1414211ab2 (diff)
If a registry entry exists, treat it as authoritative.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17341 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib')
-rw-r--r--lib/thandy/packagesys/ExePackages.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/thandy/packagesys/ExePackages.py b/lib/thandy/packagesys/ExePackages.py
index 9bda833..be0517a 100644
--- a/lib/thandy/packagesys/ExePackages.py
+++ b/lib/thandy/packagesys/ExePackages.py
@@ -70,8 +70,7 @@ class ExePackageHandle(pdb.DBBackedPackageHandle):
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