Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2009-10-17 02:42:03 (GMT)
committer Simon Schampijer <simon@schampijer.de>2010-03-09 21:28:50 (GMT)
commit63a5dcef05d108f73ed7610e593143123b193443 (patch)
tree34075280284f0ffbfb49422e2b8f13bf48e998e6
parentf8ef93bd2106d24dfb9d20934abc4d0c1e7ce741 (diff)
Deprecate host_version #1509
-rw-r--r--src/sugar/bundle/contentbundle.py12
1 files changed, 0 insertions, 12 deletions
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: