Commit Graph
5 Commits
Author SHA1 Message Date
Ibiam Chihurumnaya 8c976bd56a xml.etree.CElementTree deprecated
Any activity fails to build with Python 3.9;

Traceback (most recent call last):
  File "setup.py", line 19, in <module>
    from sugar3.activity import bundlebuilder
  File "sugar3/activity/bundlebuilder.py", line 44, in <module>
    import xml.etree.cElementTree as ET
ModuleNotFoundError: No module named 'xml.etree.cElementTree'

See https://docs.python.org/3.9/whatsnew/3.9.html#removed
"The xml.etree.cElementTree module has been removed."

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1817644

Signed-off-by: Ibiam Chihurumnaya <[email protected]>
Signed-off-by: James Cameron <[email protected]>
2020-03-28 14:12:05 +11:00
Ibiam Chihurumnaya ecf335c19c Add --from-code parameter to xgettext for a python3 activity
Signed-off-by: Ibiam Chihurumnaya <[email protected]>
2020-02-24 12:53:28 +11:00
Ibiam Chihurumnaya fc81121f19 Dash in signal names
GLib accepts signal names with dash or underscore and
documents the signals with a dash.

Use of signal names in Sugar was mixed, change to using
dash only.

No functional change.
2019-07-30 10:05:11 +10:00
Ibiam Chihurumnaya b74c3570d5 Fix NameError introduced by 23e664df05 2019-07-25 01:29:35 +05:30
Ibiam Chihurumnaya 9a6c9ce69c sugar3.speech - expose mark messages
Mark messages can be used for text highlight.

Signed-off-by: James Cameron <[email protected]>
2019-07-24 17:03:48 +10:00