Avoid auto-import of bundle helpers (#4527)
The new bundle helpers were being auto-loaded with sugar3.bundle due to their placement in __init__.py. This was causing Gi to be imported, breaking GTK2 activity launches. Move the helpers to a dedicated module.
This commit is contained in:
@@ -18,7 +18,7 @@ import os
|
||||
import unittest
|
||||
import subprocess
|
||||
|
||||
from sugar3.bundle import bundle_from_dir, bundle_from_archive
|
||||
from sugar3.bundle.helpers import bundle_from_dir, bundle_from_archive
|
||||
from sugar3.bundle.activitybundle import ActivityBundle
|
||||
from sugar3.bundle.contentbundle import ContentBundle
|
||||
|
||||
|
||||
Reference in New Issue
Block a user