From 63a5dcef05d108f73ed7610e593143123b193443 Mon Sep 17 00:00:00 2001 From: Wade Brainerd Date: Sat, 17 Oct 2009 02:42:03 +0000 Subject: Deprecate host_version #1509 --- diff --git a/src/sugar/bundle/contentbundle.py b/src/sugar/bundle/contentbundle.py index 4b483cb..48e05a1 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: -- cgit v0.9.1