From 63a5dcef05d108f73ed7610e593143123b193443 Mon Sep 17 00:00:00 2001 From: Wade Brainerd Date: Fri, 16 Oct 2009 22:42:03 -0400 Subject: [PATCH] Deprecate host_version #1509 --- src/sugar/bundle/contentbundle.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/sugar/bundle/contentbundle.py b/src/sugar/bundle/contentbundle.py index 4b483cbd..48e05a1f 100644 --- a/src/sugar/bundle/contentbundle.py +++ b/src/sugar/bundle/contentbundle.py @@ -74,18 +74,6 @@ class ContentBundle(Bundle): section = 'Library' - if cp.has_option(section, 'host_version'): - version = cp.get(section, 'host_version') - try: - if int(version) != 1: - raise MalformedBundleException( - 'Content bundle %s has unknown host_version ' - 'number %s' % (self._path, version)) - except ValueError: - raise MalformedBundleException( - 'Content bundle %s has invalid host_version number %s' % - (self._path, version)) - if cp.has_option(section, 'name'): self._name = cp.get(section, 'name') else: