From 48597a672f12acc53f49380f39049a7f304a970f Mon Sep 17 00:00:00 2001 From: Jameson Quinn Date: Wed, 23 Jul 2008 15:55:42 +0000 Subject: bug #7534: need_upgrade should always be True --- (limited to 'src/sugar/bundle') diff --git a/src/sugar/bundle/activitybundle.py b/src/sugar/bundle/activitybundle.py index f6c0242..2c235d8 100644 --- a/src/sugar/bundle/activitybundle.py +++ b/src/sugar/bundle/activitybundle.py @@ -275,11 +275,13 @@ class ActivityBundle(Bundle): return False def need_upgrade(self): - act = activity.get_registry().get_activity(self._bundle_id) - if act is None or act.version != self._activity_version: - return True - else: - return False + """Returns True if installing this activity bundle is meaningful - + that is, if an identical version of this activity is not + already installed. + + Until we have cryptographic hashes to check identity, returns + True always. See http://dev.laptop.org/ticket/7534.""" + return True def unpack(self, install_dir, strict_manifest=False): self._unzip(install_dir) -- cgit v0.9.1