You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Cameron 2018c930ad Fix sugar-install-bundle
Traceback (most recent call last):
  File "/usr/bin/sugar-install-bundle", line 21, in <module>
    bundle = ActivityBundle(name)
  File "/usr/lib/python3.7/dist-packages/sugar3/bundle/activitybundle.py", line 118, in __init__
    info_file = self.get_file('activity/activity.info')
  File "/usr/lib/python3.7/dist-packages/sugar3/bundle/bundle.py", line 126, in get_file
    f = six.StringIO(data)
TypeError: initial_value must be str or None, not bytes

Fix by always reading bundle and metadata as Bytes, and converting to
String before passing to ConfigParser.

Did not fix ContentBundle, as it has been unused for some time, and was
only kept for use with OLPC XO and Python 2.
4 years ago
..
Makefile.am Avoid auto-import of bundle helpers (#4527) 11 years ago
__init__.py flake8 fixes 5 years ago
activitybundle.py Fix sugar-install-bundle 4 years ago
bundle.py Fix sugar-install-bundle 4 years ago
bundleversion.py flake8 fixes 5 years ago
contentbundle.py Port from Python 2 to six 5 years ago
helpers.py Avoid auto-import of bundle helpers (#4527) 11 years ago